VLANs & Routing

Network Devices

DeviceRole
UniFi Cloud Gateway Max (UCG-Max)WAN/NAT, L3 gateway for all VLANs, DHCP server, BGP (FRR), DNS, UniFi controller
Mikrotik CRS309-1G-8S+L2 switch only — no routing, no BGP, no IPs
UniFi US-48 PoE 500WL2 switch (upstream: UCG-Max port 4)
UniFi US-16 PoE 150WL2 switch (upstream: US-48 port 13)

The UCG-Max replaced pfSense as the network gateway. The Mikrotik is now a pure L2 switch downstream of the UCG-Max on VLAN 1099 (LAB).


VLANs

NameVLAN IDSubnetGatewayDHCP RangePurpose
LAN1192.168.1.0/24192.168.1.1.50–.200Legacy/default
HME100110.10.1.0/2410.10.1.1.50–.200Trusted home users
TST1088192.168.88.0/24192.168.88.1.50–.200Testing
LAB109910.10.99.0/2410.10.99.1.50–.70Servers, K8s nodes
GST115110.10.151.0/2410.10.151.1.50–.200Guest
IOT115210.10.152.0/2410.10.152.1.50–.200IoT devices
TRANSIT99172.16.99.0/30NoneUCG-Max ↔ Mikrotik link

Key Static IPs (LAB — 10.10.99.0/24)

HostIPNotes
UCG-Max10.10.99.1Gateway, DNS, BGP peer
talos-cp-0110.10.99.101Control plane
talos-cp-0210.10.99.102Control plane
talos-cp-0310.10.99.103Control plane
pantheon10.10.99.104Proxmox host
talos-w-0110.10.99.201Worker
talos-w-0210.10.99.202Worker
talos-gpu-0110.10.99.203GPU worker
atlas (TrueNAS)10.10.99.100NFS: /mnt/atlas/media
kube-api VIP10.10.99.99Kubernetes API server (L2 via Cilium)
Internal gateway10.10.99.98Envoy internal-gateway LoadBalancer IP
External gateway10.10.99.97Envoy external-gateway LoadBalancer IP
LB pool10.10.99.71–.96Available for additional LoadBalancer services

Multi-Network (Multus + IOT VLAN)

Home-automation pods (Frigate, Home Assistant, Zigbee2MQTT, etc.) attach a secondary interface to VLAN 1152 (IOT) via Multus. This gives them a direct L2 presence on the IOT network for device discovery and communication without going through NAT.

The Multus NetworkAttachmentDefinition for IOT is defined in kubernetes/apps/kube-system/multus/networks/iot.yaml.


UCG-Max Management

# SSH
ssh root@10.10.99.1

# BGP status
vtysh -c 'show bgp summary'

# UniFi admin
# Web UI: https://10.10.99.1 (or unifi.ui.com)

# MongoDB (for advanced debugging)
mongo --port 27117 ace