Networking

Networking

Orientation to the homelab network model, traffic boundaries, address and policy references, validation runbooks, and packet-flow troubleshooting.

Site A uses one stateful Layer 3 boundary: OPNsense routes and filters every routed VLAN, while the three UniFi switches provide only Layer 2 transport. Site B remains a separate, parked design; WireGuard will connect the sites with routed traffic after both local networks are stable.

Current State: Site A Phase A2

The UCG Max, XG6, and AP bootstrap island is live on 192.168.0.0/23. OPNsense, UOS, and OpenBao are staged behind it, but the final 10.10.x fabric is not yet deployed. Site B and WireGuard remain parked.

Network Model

Layer or functionOwnerResponsibility
WAN, NAT, and firewall policyOPNsenseInternet edge, routed VLAN gateways, inter-zone policy, DHCP, initial DNS, and future WireGuard
Campus switchingUniFi at Site A; Netgear and UniFi at Site BVLAN admission, access ports, trunks, PoE, and local Layer 2 forwarding
Host attachmentProxmox Linux bridgesConnect VM interfaces to approved VLANs without making the host a router
Inter-site connectivityOPNsense WireGuard peersRoute selected traffic between 10.10.0.0/16 and 10.20.0.0/16 without NAT

Routing Boundaries Are Deliberate

Never stretch Layer 2, a Proxmox cluster, or Ceph between sites. Corosync and storage networks remain local and unrouted. Site A switches do not own production gateways.

Find the Right Reference

Prove and Troubleshoot

Traffic Boundaries

Traffic planeRouting behaviorDesign intent
Management and service VLANsRouted through local OPNsense policyMake every zone crossing visible to one stateful firewall
Corosync (VLAN 25)Site-local, no gatewayKeep cluster heartbeat independent of routed services
Storage / Ceph public (VLAN 60)Site-local, no gatewayAttach consumers directly and keep bulk data off the firewall
Ceph cluster (VLAN 65)Site B local-only; reserved and not carried at Site AIsolate OSD replication and never route it to VLAN 60
Backup / Replication (VLAN 90)Routed with narrow policySupport backup and future cross-site replication
Native sink (VLAN 999)Site A only; no subnet, gateway, DHCP, or clientsSend unexpected untagged trunk traffic to a dead end

From Design to Implementation

Network reference pages define the stable intent. The Site A Port Map owns physical links and port profiles, OPNsense owns interfaces and firewall implementation, and Build Phases owns the decision-gated migration sequence. Use the interactive network tools when a visual view is faster than a table.