c1 dual-stack: cluster-internal ULA IPv6, reachable from the LAN #27
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lab/machine-configs#27
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #14 (c1 came up IPv4-only).
Goal
Cluster-internal IPv6 on c1 (ULA), reachable from the LAN, for learning/experimenting. No ISP prefix: Bell residential gives no IPv6 delegation (Rogers does; that would be the global entry point if ever switched).
Facts
Plan
Addressing plan (2026-11-12)
Lab ULA /48:
fdd5:c8ef:2fa0::/48(40 random bits, generated once, RFC 4193). WrittenPbelow. One /48 for the whole lab, never per ISP.Layout of the 16-bit subnet ID
The top nibble is the site (ADR-0005), so each site is a /52 with 4096 /64s and summarizes to one route over VPN or BGP.
P:0000::/52P:1000::/52P:2000::/52P:3000::/52P:4000::and upInside caosh (
P:0xxx):P:0nnn::/64(VLAN number read as decimal, e.g. VLAN 15 =P:15::/64)10.n.x.xP:0400::/56(one /64 per node)P:0500::/112P:0600::/64P:0700::/56,P:0800::/112,P:0900::/64The decimal-read mapping only works for VLANs 1-399. From 400 up it runs into the cluster blocks, and 1000 and up spill into the next site's nibble: VLAN 1000 would land on catny. Such VLANs (the 1000 management VLAN) get an explicit slot instead, for example
P:0f00::/64. The alternative is to move the cluster blocks higher (P:0c00and up). Decide this before the first rebuild, because pod and service CIDRs are fixed at cluster creation.Rules:
10.15.1.170becomesP:15::170. Clients use SLAAC with privacy addresses.Cilium (fixes from the old mini attempt, flux-clusters/clusters/mini/cilium)
ipv6.enabled: true(it was commented out, so v6 never worked)ipv6NativeRoutingCIDR: fdd5:c8ef:2fa0::/48(the oldfd00::/100covered neither nodes nor pods)clusterPoolIPv6PodCIDRList: P:0400::/56, mask 64 (the old2001:cafe::is someone else's public space)cluster-cidrandservice-cidrset to the same ULA rangesRouter
DNS
ip6.arparecords generated from machine-configs host data (#16, iac#50), not entered by handUpdate 2026-11-13: aligned with iac ADR-0008 (lab/iac PR #82)
P:0f00.10.30.0.0/16, drawn at random, so10.30.20.21=P:20::21.P:0600::/64toP:100::/64to match IPv410.30.100.0/24. The pod/56(P:0400::) and service/112(P:0500::) stay as they are.10.30.128.0/18and10.30.192.0/20at the dual-stack rebuild. Both families get renumbered in the same rebuild window.P:200::/64and10.30.200.0/24. Router loopbacks getP:0::/64and10.30.0.0/24.Rook goes onto host networking as part of this rebuild, from day one, instead of being converted on the running cluster.
Plan
10.30.21.0/24andfdd5:c8ef:2fa0:21::/64, never routed. Host numbers match the servers VLAN, so think-01 is.21/::21.bcmgenet maxmtu 1500, checked on pi-01), and jumbo frames gain about 1.5% at 1 Gbit. Reasoning is in ADR-0008.network.rook.io/mon-ipannotations, because node IPs stay on VLAN 20.Why not convert c1 in place now
Mons can't change address family in place. Moving them to dual stack on a new VLAN means failing over each mon on the slow-booting Pis, and VLAN 21 doesn't exist before the cutover anyway.
Lab rehearsal
Phase B of the bedrock harness, before the rebuild:
labsw. A Linux bridge isn't throttled like the CHR routers.Source: handoff-rook-host-networking-2026-11-15.md (scratch). Its reference to mc#24 for dual stack is wrong; this is the issue.
Status 2026-11-17:
Legacy VLANs 1/1000 stay v4-only deliberately: hosts get IPv6 when they move to their new VLAN.
Rook host networking / VLAN 21 remainder moved to lab/clusters#1785.