~kris/dots

srice

ref: a4bfa48cdda924f7a77a81e8d8e93e326a01b8a0 srice/doc/networking/hardware/switches-vlans.md -rw-r--r-- 1.8 KiB
a4bfa48c — Kris Yotam mksh: reliable history hook via HISTFILE growth + binary record parse 2 months ago

#Switches & VLAN Segmentation

#Managed Switches

#MikroTik (best value, steepest learning curve)

#Ubiquiti UniFi (best UI, ecosystem lock-in)

  • USW-Pro-24-PoE integrates with UniFi controller
  • Easy VLAN setup but less flexible than MikroTik

#Cisco Catalyst (enterprise standard)

  • Catalyst 1000 series for lab use
  • Full IOS CLI, real-world experience
  • Most expensive

Comparison: https://www.fccj.org/best-managed-network-switches-for-home-labs/

VLAN Purpose Notes
1 Management Switch/AP/firewall admin interfaces ONLY
10 Trusted LAN Workstations
20 Servers/Lab STARGATE, services
30 IoT No internet except specific endpoints
40 Guest Internet only, no local access
50 DMZ Public-facing services
60 Plan 9 Cluster isolation (see plan9-security/)

Inter-VLAN routing through OPNsense with strict ACLs.

Guide: https://mattadam.com/2025/09/17/how-to-use-vlans-and-subnets-in-home-lab-environments-without-losing-your-mind/

#Network TAPs vs SPAN Ports

TAPs are superior for security monitoring:

  • Passive, no latency, no performance impact
  • Capture 100% of traffic including errors
  • No IP address, can't be hacked
  • Work even under high switch utilization

SPAN: cheaper, just a config change, but drops packets under load.

Vendors:

  • Garland Technology: purpose-built, ~$200+ for copper
  • Profitap: mid-range
  • Dualcomm: budget, ~$50-80 on Amazon

References: