# Lab network simulation — VLAN map. # # Mirrors the real UniFi topology (same VLAN IDs, same roles) but with # deliberately DIFFERENT IP ranges so nothing here can collide with, or be # confused for, production. The sim subnet always encodes the VLAN id: # # 172.31..0/24 # # Per-subnet address plan (same shape on every VLAN): # .1 gateway under test (VyOS/router VM — not created by default) # .2 host bridge (how you SSH in from this workstation) # .10 the micro VM for this VLAN # .254 VRRP VIP (reserved, mirrors production) # # Format: vlan_id:name:sim_subnet_prefix:real_subnet:[masklen]:[host_octet] # # masklen defaults to 24 and host_octet to 2. Both exist for VLAN 10, which is # the one VLAN that has to be a /23 here: every UniFi DHCP reservation lives in # LoT, and LoT spans 10.0.0.x AND 10.0.1.x, which a /24 cannot represent. With # /23 the mapping stays readable — 10.0.0.46 -> 172.31.10.46 and # 10.0.1.67 -> 172.31.11.67. # # LoT's host leg is .3 rather than .2 because 10.0.0.2 is a real reservation # (Hubitat) and would map straight onto the host's own address. .3 is free in # production and sits below the DHCP pool (which starts at .11), so it can # never be handed out. 1:management:172.31.1:192.168.1.0/24 2:k8s:172.31.2:192.168.8.0/23 3:kvm:172.31.3:192.168.3.0/24 9:private:172.31.9:10.0.9.0/23 10:lot:172.31.10:10.0.0.0/23:23:3 200:roomates:172.31.200:192.168.2.0/24