ADR-0008: WireGuard link block 10.30.200.0/24 sits inside c1's service CIDR 10.30.192.0/20 #189
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lab/iac#189
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?
ADR-0008's address table reserves ID 200 (
10.30.200.0/24) for native WireGuard links, /31 + /127 per link. The same table gives c1 services10.30.192.0/20(IDs 192-207), and that range contains10.30.200.0/24. The ADR assigns that /24 twice.Found during the 2026-11-22 triage (lab/clusters#1785 research).
Live state
c1 already allocates ClusterIPs from that /24 (2026-11-22):
Since lab/clusters#1748 c1 announces its service range over BGP, so the routers already route
10.30.200.0/24to the thinks. The first native WireGuard link (#79, #168) would collide with c1 Services.No WireGuard link uses the range yet: master has no
10.30.200.orP:200::reference outside the ADR. IPv6 is clear: c1 services areP:500::/112and pods sit atP:400::, soP:200::/64overlaps nothing.Fix
Move the WireGuard link block, not c1. The service CIDR is fixed at cluster creation (machine-configs ADR-0012,
modules/clusters/think.nix:26), so moving it means a c1 rebuild. The WireGuard block has no users yet.208(10.30.208.0/24,P:208::/64) is the next free one after the c1 blocks; anything below 128 that isn't a VLAN also works.routeros/that fails when a static allocation lands inside the c1 pod or service CIDR.Done when
Related: #79, #168, lab/clusters#1748, lab/clusters#1785, machine-configs ADR-0012.