Skip to content

Commit 60b6cc2

Browse files
authored
fix subnet addresses in new networking doc (#3770)
1 parent c9a9467 commit 60b6cc2

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

docs/networking.adoc

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -338,14 +338,14 @@ In our example deployment:
338338
[source,text]
339339
----
340340
AZ subnet: fd00:1122:3344::/48
341-
internal : fd00:1122:3344::1/56
342-
DNS 1: fd00:1122:3344::1/64
343-
DNS 2: fd00:1122:3344::2/64
344-
DNS 3: fd00:1122:3344::3/64
345-
rack: fd00:1122:3344::100/56
346-
sleds: fd00:1122:3344::101/64
347-
fd00:1122:3344::102/64
348-
fd00:1122:3344::103/64
341+
internal : fd00:1122:3344::/56
342+
DNS 1: fd00:1122:3344:1::/64
343+
DNS 2: fd00:1122:3344:2::/64
344+
DNS 3: fd00:1122:3344:3::/64
345+
rack: fd00:1122:3344:100::/56
346+
sleds: fd00:1122:3344:101::/64
347+
fd00:1122:3344:102::/64
348+
fd00:1122:3344:103::/64
349349
...
350350
----
351351

@@ -700,10 +700,12 @@ fe80::/10 fe80::aa40:25ff:fe04:357 U 3 59075 cxgbe0
700700

701701
There's a lot to unpack here. There are two important groups of routes here:
702702

703-
* `fd00:1122:3344::101/64` through `fd00:1122:3344::107/64`: routes for the underlay network (12 routes)
704-
* `fd00:1122:3344::1/64` through `fd00:1122:3344::3/64`: routes for the internal DNS servers (6 routes)
703+
* `fd00:1122:3344:101::/64` through `fd00:1122:3344:107::/64`: routes for the underlay network (12 routes)
704+
* `fd00:1122:3344:1::/64` through `fd00:1122:3344:3::/64`: routes for the internal DNS servers (6 routes)
705705
* `fdb0:...`: routes for the bootstrap network (21 routes)
706706

707+
NOTE: DNS servers each get their own /64 subnet. The reason is a little subtle: IPv6 only allows routes for /64 or larger subnets. And we're distributing per-sled routes. So if we want different DNS servers to be on different sleds (which we do), they have to have separate routes. And the smallest route we can have is a /64. So each DNS server gets its own /64.
708+
707709
If we sort the underlay routes by destination address, we notice that each prefix has two routes: one through cxgbe0 and one through cxgbe1:
708710

709711
[source,console]

0 commit comments

Comments
 (0)