From 5dddab2997f1fce01dc5b6d32ecffa85f5b1dcd2 Mon Sep 17 00:00:00 2001 From: Paco Xu Date: Wed, 25 May 2022 14:46:23 +0800 Subject: [PATCH 1/2] fix wrong number in service-ip-dynamic-and-static-allocation --- .../2022-05-23-service-ip-dynamic-and-static-allocation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/blog/_posts/2022-05-23-service-ip-dynamic-and-static-allocation.md b/content/en/blog/_posts/2022-05-23-service-ip-dynamic-and-static-allocation.md index 92120605a2..e67d173bc0 100644 --- a/content/en/blog/_posts/2022-05-23-service-ip-dynamic-and-static-allocation.md +++ b/content/en/blog/_posts/2022-05-23-service-ip-dynamic-and-static-allocation.md @@ -101,7 +101,7 @@ pie showData #### Service IP CIDR block: 10.96.0.0/20 Range Size: 212 - 2 = 4094 -Band Offset: `min(max(16,256/16),256)` = `min(256,256)` = 256 +Band Offset: `min(max(16,4096/16),256)` = `min(256,256)` = 256 Static band start: 10.96.0.1 Static band end: 10.96.1.0 Range end: 10.96.15.254 From 3e809c91f3a800bacb3fe260c6e09fdd48234b41 Mon Sep 17 00:00:00 2001 From: Paco Xu Date: Tue, 7 Jun 2022 09:17:46 +0800 Subject: [PATCH 2/2] adding a space after the comma --- .../2022-05-23-service-ip-dynamic-and-static-allocation.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/blog/_posts/2022-05-23-service-ip-dynamic-and-static-allocation.md b/content/en/blog/_posts/2022-05-23-service-ip-dynamic-and-static-allocation.md index e67d173bc0..c17453a6de 100644 --- a/content/en/blog/_posts/2022-05-23-service-ip-dynamic-and-static-allocation.md +++ b/content/en/blog/_posts/2022-05-23-service-ip-dynamic-and-static-allocation.md @@ -86,7 +86,7 @@ Examples: #### Service IP CIDR block: 10.96.0.0/24 Range Size: 28 - 2 = 254 -Band Offset: `min(max(16,256/16),256)` = `min(16,256)` = 16 +Band Offset: `min(max(16, 256/16), 256)` = `min(16, 256)` = 16 Static band start: 10.96.0.1 Static band end: 10.96.0.16 Range end: 10.96.0.254 @@ -101,7 +101,7 @@ pie showData #### Service IP CIDR block: 10.96.0.0/20 Range Size: 212 - 2 = 4094 -Band Offset: `min(max(16,4096/16),256)` = `min(256,256)` = 256 +Band Offset: `min(max(16, 4096/16), 256)` = `min(256, 256)` = 256 Static band start: 10.96.0.1 Static band end: 10.96.1.0 Range end: 10.96.15.254 @@ -116,7 +116,7 @@ pie showData #### Service IP CIDR block: 10.96.0.0/16 Range Size: 216 - 2 = 65534 -Band Offset: `min(max(16,65536/16),256)` = `min(4096,256)` = 256 +Band Offset: `min(max(16, 65536/16), 256)` = `min(4096, 256)` = 256 Static band start: 10.96.0.1 Static band ends: 10.96.1.0 Range end: 10.96.255.254