LUNAROPS · OPERATIONAL UPLINK 100% UPTIME 1,247d POSTS 893 JEFF.MOON@LUNAROPS.DEV UTC --:--:--

Home Network Design: Wired Backbone, Wi-Fi Coverage, IoT Isolation, and Cable Management

networkinghomelabwifivlansiotcable-managementubiquitiunifiswitches
Contents

Most home networks are accidents. An ISP technician drops off a combo modem/router, you connect a few devices, and you call it done. That works until you have forty IoT devices, a Proxmox cluster doing live VM migrations, simultaneous 4K streams, and a work laptop on a video call — all competing for the same flat, unmanaged network running off hardware designed to be as cheap as possible to ship.

This guide builds a home network deliberately. Physical infrastructure, switch selection, router choice, Wi-Fi design, VLAN segmentation, and cable management — each piece covered with specific hardware recommendations and configuration examples. The target is a network that is fast, reliable, and secure enough that your smart thermostat cannot compromise your NAS.


Why Your Home Network Matters More Than Ever

The demands on a typical home network in 2026 look nothing like 2015.

Remote work has turned the home network into professional infrastructure. A dropped frame in a video call is visible to everyone in the meeting. VPN connections to corporate networks add overhead and require consistent low latency. Latency-sensitive apps — video conferencing, VoIP, remote desktop — tolerate packet loss and jitter poorly.

Homelab workloads are bandwidth-intensive in ways consumer network gear was never designed for. Proxmox live migration moves entire VM RAM contents across the network — a 32 GB VM over 1GbE takes roughly 4 minutes. NAS transfers for media encoding, backup, and Docker volume mounts saturate 1GbE links constantly. A 10GbE spine between your NAS and Proxmox hosts turns those 4 minutes into under 30 seconds.

Smart home growth has outpaced network design. A modern fully-equipped home easily has 50+ IoT devices: smart bulbs, plugs, switches, thermostats, sensors, cameras, doorbells, TVs, appliances. Every one of these is a potential security liability. IoT firmware update cadences are poor, default credentials are common, and manufacturers have been caught doing everything from mining cryptocurrency to acting as botnet nodes.

Streaming now requires real bandwidth. A single 4K HDR stream on Netflix or Apple TV requires 25 Mbps sustained. Four simultaneous streams from different family members needs 100 Mbps just for video — before you account for everything else on the network.

The ISP router problem is fundamental. ISP-supplied combo modem/router units are designed to minimize support calls and manufacturing cost, not to serve your actual workload. They do everything: modem, router, firewall, DHCP, DNS, Wi-Fi — all poorly. No VLAN support. No QoS worth using. No visibility into traffic flows. Wi-Fi range that requires a string of “range extenders” that create roaming nightmares. Most cannot even be configured to hand out custom DNS servers without putting the device into a half-broken bridge mode.

The goal this guide works toward: a network where you trust every segment, where Wi-Fi works in every room without dead zones or roaming drops, where your smart toaster is firewalled off from your NAS, and where you can actually see what is happening when something goes wrong.


Network Planning: Start With a Diagram

The biggest mistake in home network design is buying hardware before understanding the physical environment.

Physical Layout First

Get a floor plan — or sketch one. Mark:

  • Every room and its approximate dimensions
  • The ISP entry point (where the coax or fiber terminates)
  • Electrical panel location (near where your rack or main switch will live)
  • Load-bearing walls and exterior walls (harder to fish cable through)
  • HVAC chases, dropped ceilings, unfinished basement/attic (cable routing opportunities)
  • Existing cable runs if any

Most homes have a clear “best location” for a central switch: a utility room, basement, or hallway closet near the electrical panel. This is where your patch panel and core switch will live.

Device Inventory

Walk through the house and count devices per room, noting which ones are high-bandwidth users:

Room Devices High-Bandwidth? Ethernet Needed?
Office Desktop, NAS, work laptop Yes Yes — 2+ ports
Living Room Smart TV, media box, game console Yes (4K) Yes — 2-3 ports
Kitchen Smart display, bulbs, plug, fridge No Optional
Bedrooms Laptop, phone, bulbs Moderate 1 port each
Garage Camera, NAS backup node Moderate Yes
Everywhere IoT sensors, bulbs No Wi-Fi only

This inventory drives how many ethernet drops you need per room, which rooms need high-bandwidth wired connections, and how many PoE ports your switch needs.

Topology: Star, Not Daisy-Chain

A star topology — every device connects back to a central switch — is non-negotiable for a reliable network:

                    ┌─────────────────┐
                    │   Core Switch   │
                    │  (patch panel)  │
                    └────────┬────────┘
           ┌────────────┬────┴────┬────────────┐
           │            │        │             │
       Office       Living    Bedroom       Garage
      (2 drops)    Room        (1 drop)    (1 drop)
                  (3 drops)

Daisy-chaining switches (switch → switch → switch) creates single points of failure, degrades performance due to multiple hops, complicates VLAN configuration, and makes troubleshooting painful. Every run goes to the central switch.

Ethernet vs Wi-Fi Decision Matrix

Not every device needs a cable. Prioritize wired runs for:

  • Desktop computers and workstations
  • NAS and servers
  • Game consoles and media streamers (4K)
  • Smart TVs
  • Access points (wired backhaul is mandatory for good Wi-Fi)
  • IP cameras

Wi-Fi is acceptable for:

  • Laptops (they move)
  • Phones and tablets (they move)
  • IoT sensors and low-bandwidth devices
  • Guest devices

Planning for Future Expansion

Cable is cheap. Labor is expensive (especially your own time, if you are doing it yourself). When running a cable to a room, pull two. When sizing a switch, buy one size larger than you need today. A 24-port switch when you only need 12 ports costs modestly more but saves a switch replacement in two years.


The Wired Backbone

Cable Categories

Category Max Speed Max Distance Shielding Notes
Cat5e 1 Gbps 100 m UTP Sufficient for most home uses
Cat6 10 Gbps 55 m UTP Good choice for new runs
Cat6A 10 Gbps 100 m F/UTP or S/FTP Thicker, heavier, harder to terminate
Cat8 40 Gbps 30 m S/FTP Datacenter use only, impractical for home

Recommendation: Use Cat6 for all new home runs. It supports 10 Gbps over the shorter distances common in homes (most runs under 30 meters), terminates with the same tools and keystones as Cat5e, and costs only marginally more. Cat6A is justified if you are pre-running cable in walls that will be closed up for decades and want maximum future-proofing, but its diameter (6–8mm vs 5–6mm for Cat6) makes it significantly harder to route through tight spaces and terminate in keystone jacks.

Cat5e is fine for patch cables and for augmenting existing runs. Do not rip out working Cat5e just to replace it with Cat6.

In-Wall Cable Requirements

Cables run inside finished walls must be rated for it:

  • CM (Communications Multipurpose): basic, for open runs in non-plenum spaces
  • CMR (Communications Multipurpose Riser): rated for vertical runs between floors, reduced flame spread
  • CMP (Communications Multipurpose Plenum): for HVAC air-handling spaces (drop ceilings, under-floor HVAC plenums), uses low-smoke PVC or FEP jacket

Most home installs use CMR. If your home has a drop ceiling used as an air return, use CMP in that space. Never use outdoor-rated direct-burial cable indoors — it often uses a flooded gel core incompatible with keystone jack termination.

Running Cable Through Walls

The physical work is the hard part. Tools you will need:

  • Fish tape (steel or fiberglass): for routing cable through finished walls and cavities
  • Flex drill bits / glow rods: for drilling through insulated walls and around obstacles
  • 3/4" or 1" spade drill bit: for drilling through wall plates and studs
  • Stud finder: mandatory before drilling into walls
  • Right-angle drill: for tight spaces, especially attic/crawlspace work

Common routing strategies:

  1. Attic or basement routing: Run cable horizontally through attic or basement, then drop vertically inside walls to outlets. This avoids drilling through multiple studs.
  2. Exterior walls: Avoid when possible — insulation and fire-blocking make them difficult. Interior walls are much easier.
  3. Conduit: If you have a partially finished basement or utility space, run EMT or PVC conduit along joists. Future cable pulls take minutes instead of hours.
  4. Cable raceways: Surface-mount raceways along baseboards are faster than in-wall runs and reversible. Less aesthetically clean but practical for apartments or rentals.

Wherever possible, drop cables through an interior wall cavity to a low-voltage bracket and keystone jack rather than through a direct-burial run — this keeps your termination points organized and replaceable.

Keystone Jacks and Patch Panels

Keystone jacks are the standard termination point for structured cabling. They snap into wall plates and patch panel frames. Both T568A and T568B wiring standards work — pick one and use it everywhere. T568B is the de facto standard in North America.

T568B Wiring (most common in North America):

Pin 1: White/Orange
Pin 2: Orange
Pin 3: White/Green
Pin 4: Blue
Pin 5: White/Blue
Pin 6: Green
Pin 7: White/Brown
Pin 8: Brown

Patch panels centralize your cable terminations in one location. Instead of individual cables running directly into switch ports, every in-wall run terminates at the patch panel with a short patch cable connecting to the switch. This makes changes trivial — to move a device to a different VLAN, you just move a patch cable.

For a home install, a 12-port or 24-port 1U patch panel is typically appropriate. Mount it in the rack above or below your core switch.

Switch Placement

The core switch lives in the same location as your patch panel — a closet, basement, or utility room. Requirements for this location:

  • Ventilation (switches generate heat, especially PoE switches)
  • Power outlet (UPS recommended)
  • Reasonably low ambient temperature
  • Physical security (guests should not have access to your core switch)

A small wall-mount rack (6U–12U) handles a patch panel, switch, and UPS in minimal space. Open-frame racks or enclosed wall-mount cabinets are both fine.

PoE: Powering Network Devices

Power over Ethernet eliminates separate power adapters for access points, IP cameras, VoIP phones, and PoE-capable switches. A single Cat6 cable carries both data and power. The PoE standards:

Standard Max Power Common Use
802.3af (PoE) 15.4 W IP phones, basic cameras
802.3at (PoE+) 30 W Access points, PTZ cameras
802.3bt (PoE++) 60–90 W High-end APs, displays, thin clients

UniFi APs typically need PoE+ (802.3at). Budget TP-Link APs often need only 802.3af. Check the spec sheet for each device before sizing your PoE switch.

Cable Testing

Before closing walls:

  • Continuity tester ($15–30): Verifies correct pinout and no open or shorted pairs. Use one for every terminated cable before the wall is closed.
  • TDR (Time-Domain Reflectometer) built into better testers: Measures cable length and identifies where a fault is located. Useful for diagnosing runs after the fact.
  • Fluke DSX / Versiv (enterprise-grade): Certifies cable to specific category standards. Overkill for home use but worth renting if you are doing a large install.

Switch Selection and Configuration

Unmanaged vs Managed

Unmanaged switches have no configuration interface. Plug them in and every port is in the same broadcast domain. They are fine for small setups with no need for VLANs. Do not use them at the core of your network.

Managed switches support VLANs, port mirroring, QoS, LACP, and SNMP monitoring. Once you have more than a handful of devices or any desire for IoT isolation, a managed switch is mandatory.

Tier Model Ports PoE Price (approx.) Notes
Budget TP-Link TL-SG108E 8 No ~$35 Web-managed, 802.1Q VLANs, solid for small setups
Budget Netgear GS308E 8 No ~$40 Similar to TL-SG108E, slightly better UI
Budget PoE TP-Link TL-SG108PE 8 4× PoE+ ~$65 Adds PoE to the budget tier
Mid-range MikroTik CRS326-24G-2S+RM 24 No ~$180 Full-featured, 2× SFP+, LACP, ACLs, RouterOS
Mid-range Netgear GS724T 24 No ~$200 Solid web-managed, LACP, QoS, good for larger setups
Mid-range PoE TP-Link TL-SG3428XMP 24 24× PoE+ ~$280 4× SFP+, heavy PoE budget, JetStream managed
Premium Ubiquiti USW-24-PoE 24 16× PoE+ ~$400 UniFi ecosystem, 2× SFP, excellent management
Premium Ubiquiti USW-Pro-48 48 40× PoE++ ~$900 4× SFP+, Layer 3 routing, full UniFi integration
10GbE core MikroTik CRS312-4C+8XG 12 No ~$300 8× 10GbE + 4× combo SFP+/10GbE, excellent for NAS/Proxmox

For most homelabs: The MikroTik CRS326 at ~$180 offers the best value — 24 ports, two SFP+ uplinks for 10GbE to a NAS or server, full VLAN and LACP support, and RouterOS that can handle complex configurations. The TP-Link TL-SG108E is the right choice for a simple apartment setup where you need basic VLAN support without spending much.

If you are going all-Ubiquiti, the USW-24-PoE integrates beautifully with UniFi Network Application and makes VLAN management a UI exercise rather than a CLI one.

VLAN Configuration on a Managed Switch

Every connection between network segments uses tagged trunk ports; end devices use untagged access ports.

Trunk port (to router and APs): carries all VLANs tagged, native VLAN set to an unused VLAN (e.g., VLAN 99).

Access port (to end devices): carries one VLAN, untagged.

On a MikroTik CRS326 via RouterOS:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Create bridge
/interface bridge add name=bridge1 vlan-filtering=yes

# Add all ports to bridge
/interface bridge port
add bridge=bridge1 interface=ether1  # trunk to router
add bridge=bridge1 interface=ether2  # trunk to AP
add bridge=bridge1 interface=ether3  # access - trusted PC
add bridge=bridge1 interface=ether4  # access - IoT device
add bridge=bridge1 interface=ether5  # access - NAS

# Configure trunk ports (carry VLANs 10, 20, 30, 40, 50)
/interface bridge vlan
add bridge=bridge1 tagged=ether1,ether2 vlan-ids=10
add bridge=bridge1 tagged=ether1,ether2 vlan-ids=20
add bridge=bridge1 tagged=ether1,ether2 vlan-ids=30
add bridge=bridge1 tagged=ether1,ether2 vlan-ids=40
add bridge=bridge1 tagged=ether1,ether2 vlan-ids=50

# Configure access ports (set PVID)
/interface bridge port
set [find interface=ether3] pvid=10  # VLAN 10 - Trusted
set [find interface=ether4] pvid=30  # VLAN 30 - IoT
set [find interface=ether5] pvid=20  # VLAN 20 - Servers

# Add untagged memberships for access ports
/interface bridge vlan
add bridge=bridge1 untagged=ether3 vlan-ids=10
add bridge=bridge1 untagged=ether4 vlan-ids=30
add bridge=bridge1 untagged=ether5 vlan-ids=20

LACP bonds two physical ports into a logical 2 Gbps link. Useful for:

  • NAS with dual NICs (doubles throughput for multiple concurrent clients)
  • Proxmox host with dual 1GbE NICs
  • Uplink between switches in larger setups

LACP does not double speed for a single connection — it provides multiple flows with load balancing. A single iperf3 session will not exceed 1 Gbps over an LACP bond. The benefit is multiple simultaneous sessions each getting a full 1 Gbps.

On MikroTik, LACP toward a NAS:

1
2
3
4
5
6
7
8
9
# Create LACP bond interface
/interface bonding add \
  name=bond1 \
  slaves=ether6,ether7 \
  mode=802.3ad \
  transmit-hash-policy=layer-2-and-3

# Add bond to bridge
/interface bridge port add bridge=bridge1 interface=bond1

On UniFi switches, LACP configuration is in the UniFi Network Application under Devices → Switch → Ports → select ports → Create Port Profile → Enable Link Aggregation.

QoS: Prioritizing Traffic

QoS ensures video calls and gaming traffic are not dropped when a backup job saturates the uplink.

DSCP (Differentiated Services Code Point) marks packets at the source for priority handling:

DSCP Class Value Traffic Type
EF (Expedited Forwarding) 46 VoIP, video calls
AF41 34 Video streaming
AF31 26 Interactive gaming
AF11 10 Bulk data transfer
BE (Best Effort) 0 Default, everything else

On OPNsense/pfSense, configure HFSC or PRIQ traffic shaping under Firewall → Traffic Shaper to enforce these priorities at the WAN uplink. Most managed switches also respect DSCP marks in hardware for internal traffic prioritization.


Router and Firewall Selection

Your router is the security boundary of your network. The ISP router does not qualify.

Putting the ISP Modem in Bridge Mode

Before any of this matters, disable the routing functionality on your ISP device. Bridge mode (or sometimes “IP passthrough” or “DMZ mode”) makes the ISP device a pure modem — it converts the ISP signal (coax/fiber) to Ethernet and passes the public IP directly to your router. Your router does all NAT, DHCP, and firewall functions.

If your ISP device does not support true bridge mode, you will have double NAT: two layers of NAT that cause issues with port forwarding, VPN, and some peer-to-peer applications. The workaround is to put your router’s WAN IP in the ISP device’s DMZ, which passes all unsolicited inbound traffic to your router (still double NAT for outbound, but no port forwarding conflicts).

Always prefer separate modem + router over a combo unit.

Router/Firewall Options

OPNsense / pfSense (covered in depth in the pfSense/OPNsense Setup guide) are the gold standard for home firewall flexibility. They run on any x86 hardware and support every feature you will ever need. Suitable hardware:

  • Protectli Vault FW4C (~$330): Fanless, 4× 2.5GbE NICs, Intel Celeron J6412, 8 GB RAM, 120 GB SSD. Purpose-built for pfSense/OPNsense. Excellent for most homes.
  • Beelink EQ12 or similar mini PC (~$180–220): N100 or N305 CPU with 2× 2.5GbE, add a USB 3.0 to 2.5GbE adapter for a second NIC. Slightly less clean than a Protectli but performs identically.
  • Intel N100 SFF machines (Topton, CWWK, etc.): OEM mini PCs with 4–6 NICs pre-installed. Available from ~$150 on AliExpress/Amazon.

MikroTik hEX S (~$70): RouterOS-based, 5× Gigabit ports + 1 SFP, PoE out on one port. A capable router for users comfortable with RouterOS. Lacks a GUI as polished as OPNsense but handles VLANs, firewall rules, and BGP without issue.

Ubiquiti UniFi Dream Machine Pro ($380) or Dream Router ($200): All-in-one UniFi controller + router + firewall. Ideal if you are going all-Ubiquiti ecosystem. The UniFi management experience is genuinely excellent, but the firewall capabilities are not as flexible as OPNsense for complex rule sets.

GL.iNet Flint 2 (~$100): OpenWrt-based, Wi-Fi 6, 2× 2.5GbE, solid WireGuard integration. Good travel router, reasonable home option, but limited for complex VLAN setups compared to OPNsense.

Recommendation: For a homelab with VLANs and significant control requirements, OPNsense on a Protectli Vault or similar fanless mini PC is the right choice. If you want an integrated management experience and are buying Ubiquiti APs anyway, the Dream Machine Pro is a strong option that sacrifices some firewall flexibility for operational convenience.


Wi-Fi Design

Wi-Fi Standards

Standard Frequency Max Theoretical Key Feature
Wi-Fi 5 (802.11ac) 5 GHz 3.5 Gbps MU-MIMO, good enough for most homes
Wi-Fi 6 (802.11ax) 2.4 + 5 GHz 9.6 Gbps OFDMA, better in dense device environments
Wi-Fi 6E (802.11ax) 2.4 + 5 + 6 GHz 9.6 Gbps 6 GHz band, dramatically less congestion
Wi-Fi 7 (802.11be) 2.4 + 5 + 6 GHz 46 Gbps Multi-Link Operation, emerging

For a new install in 2026, deploy Wi-Fi 6 APs minimum. Wi-Fi 6E APs have come down significantly in price and offer real benefits in dense neighborhoods where 5 GHz congestion is measurable. Wi-Fi 7 is still premium-priced and only beneficial if you have many Wi-Fi 7 clients.

Frequency Band Characteristics

Band Range Speed Congestion Best Use
2.4 GHz Long (~45 m indoors) Lower (up to ~600 Mbps practical) High IoT devices, devices behind walls
5 GHz Medium (~25 m indoors) Higher (up to ~1.2 Gbps practical) Moderate Laptops, phones, media streamers
6 GHz Short (~15 m indoors) Highest (up to ~2.4 Gbps practical) Very low High-performance devices in close proximity

2.4 GHz is useful for IoT devices (most only support 2.4 GHz) and for signal penetration through walls and floors. Keep your IoT SSID on 2.4 GHz. The band is congested in most neighborhoods — only channels 1, 6, and 11 are non-overlapping in the 2.4 GHz 20 MHz channel plan.

5 GHz is your primary band for client devices. Forty available 20 MHz channels (in the US), with practical throughput far exceeding real-world WAN speeds for most households.

6 GHz (Wi-Fi 6E/7 only): essentially no congestion since consumer device penetration is still low. If your laptop and phone support 6 GHz, steer them there.

Access Point Placement

Rule of thumb: one AP per floor as a starting point for a typical 1500–2500 sq ft home. Dense homes, homes with thick masonry walls, or multi-story homes may need one AP per large zone per floor.

Placement guidelines:

  • Central placement: An AP in the center of its coverage zone outperforms one in a corner. Signal travels equally in all directions from the AP.
  • Mount high: Ceiling mount or high wall mount (8–10 feet) provides better line-of-sight to devices. Wi-Fi signal falls off more steeply at the floor level.
  • Avoid interference sources: Microwave ovens (2.4 GHz), baby monitors, Bluetooth devices, and neighbors’ APs all compete. Wi-Fi Analyzer (Android) or a similar tool shows what channels nearby APs are using.
  • Avoid obstacles: Metal HVAC ducts, appliances with large metal surfaces, and concrete/masonry floors all degrade signal significantly.

For a two-story home with a basement:

Floor 2:  [AP-2F-Hallway]  — center of second floor
Floor 1:  [AP-1F-Living]   — center of main living area
Basement: [AP-BAS-Office]  — homelab/office area

Three APs, all wired with Cat6 back to the core switch, provide seamless coverage with no wireless backhaul penalty.

Roaming: 802.11r, 802.11k, 802.11v

A network with multiple APs needs to let clients roam between them without dropping connections. The relevant standards:

  • 802.11r (Fast BSS Transition): Reduces re-authentication time when roaming between APs from ~300ms to ~50ms. Essential for VoIP and video calls on Wi-Fi.
  • 802.11k (Neighbor Reports): APs tell clients about nearby APs and their signal strength, so clients can make informed roaming decisions.
  • 802.11v (BSS Transition Management): APs can suggest or direct clients to roam to a better AP. Works together with 802.11k.

All three should be enabled on any multi-AP setup. They are standard options in UniFi, TP-Link Omada, and most enterprise AP systems.

Tier Model Wi-Fi PoE Price Notes
Budget TP-Link EAP670 Wi-Fi 6 802.3at ~$100 Excellent value, Omada controller
Budget TP-Link EAP615-Wall Wi-Fi 6 802.3af ~$60 Wall-plate AP, in-room placement
Mid-range Ubiquiti UniFi U6 Lite Wi-Fi 6 802.3at ~$100 Compact, ceiling or wall, 4× MU-MIMO
Mid-range Ubiquiti UniFi U6 LR Wi-Fi 6 802.3at ~$150 Extended range, 4× MU-MIMO
Mid-range Ubiquiti UniFi U6 Pro Wi-Fi 6 802.3at ~$200 6× MU-MIMO, high-density environments
Premium Ubiquiti UniFi U6 Enterprise Wi-Fi 6E 802.3bt ~$350 6 GHz band, 8× MU-MIMO
Premium TP-Link EAP773 Wi-Fi 7 802.3bt ~$220 Wi-Fi 7 at reasonable price

For most homelabs: Two or three UniFi U6 Lites or U6 LRs cover most homes well, integrate with the UniFi controller, and work seamlessly with OPNsense/pfSense VLAN trunking. If you want to avoid the Ubiquiti ecosystem, TP-Link Omada EAP670 offers comparable performance with a solid controller application.

Wired Backhaul vs Wireless Mesh

This is not really a debate: always use wired backhaul when possible. Run Cat6 to every AP location. A wireless mesh backhaul, no matter how it is marketed, consumes radio spectrum and introduces latency. A dedicated backhaul radio (tri-band mesh systems) wastes one full radio band just for AP-to-AP communication.

When wired is genuinely impossible (a detached garage, a room you absolutely cannot run cable to), wireless mesh is acceptable. Use a system with a dedicated 5 GHz or 6 GHz backhaul radio (TP-Link Deco, Eero Pro 6E, Ubiquiti U6 Mesh) rather than a single-radio mesh that shares backhaul with client traffic.

The performance difference between wired and wireless backhaul is stark:

  • Wired backhaul: AP-to-AP latency ~1ms, full 1 Gbps throughput available per AP
  • Wireless mesh: AP-to-AP latency ~5–15ms added, effective throughput halved per hop

SSID Design

Each security zone gets its own SSID:

SSID Name VLAN Security Purpose
home 10 (Trusted) WPA3-Personal Laptops, phones, tablets
home-iot 30 (IoT) WPA2-Personal Smart home devices
home-guest 40 (Guest) WPA2 or open + portal Visitors

Notes on SSID design:

  • WPA3 for trusted devices: WPA3 provides forward secrecy and is resistant to offline dictionary attacks. All modern client devices support it. Enable WPA3/WPA2 mixed mode for compatibility.
  • Do not hide SSIDs: Hidden SSIDs provide no real security (any packet analyzer reveals them) and cause roaming issues with some clients. Name them sensibly instead.
  • Band steering: Most enterprise AP systems support steering clients to the appropriate band. Configure 5 GHz preferred for capable devices, 2.4 GHz fallback. Force IoT SSID to 2.4 GHz only since most IoT devices cannot use 5 GHz anyway.
  • Management network: Do not broadcast an SSID for your management VLAN. Manage switches and APs from a wired connection or from the trusted VLAN only.

Network Segmentation with VLANs

VLANs are the mechanism that turns a flat, insecure home network into a structured one. This section applies the concepts from the Network Segmentation with VLANs guide specifically to home network design.

VLAN Name Subnet Purpose
10 TRUSTED 192.168.10.0/24 Laptops, desktops, phones, tablets
20 SERVERS 192.168.20.0/24 NAS, Proxmox, homelab servers
30 IOT 192.168.30.0/24 Smart TVs, bulbs, plugs, cameras, thermostats
40 GUEST 192.168.40.0/24 Guest Wi-Fi — internet only
50 MANAGEMENT 192.168.50.0/24 Router, switches, APs — restricted access
99 NATIVE Trunk native VLAN, no hosts assigned

IoT Isolation Rules

The IoT VLAN is the most important one to get right. IoT devices need internet access (to phone home to vendor cloud services, for updates, for voice assistant functionality) but must not have any access to the rest of your network.

The critical rules:

IoT → internet (outbound port 80, 443, NTP)    ✓ ALLOW
IoT → TRUSTED                                   ✗ BLOCK
IoT → SERVERS                                   ✗ BLOCK
IoT → MANAGEMENT                                ✗ BLOCK
TRUSTED → IoT (for control apps)                ✓ ALLOW (specific ports)
SERVERS → IoT (Home Assistant)                  ✓ ALLOW

The “TRUSTED → IoT” rule requires thought. Your phone needs to reach your smart bulbs to control them. Your Alexa app needs to reach your Alexa device. The safest approach is to allow specific ports rather than open all traffic:

  • Smart bulb control APIs: typically port 80, 443, and device-specific UDP ports
  • Home Assistant controlling IoT: Home Assistant runs on SERVERS VLAN, needs bidirectional access to IoT subnet
  • mDNS (port 5353): IoT devices use mDNS for discovery — this does not cross VLAN boundaries by default

mDNS Across VLANs

mDNS (Bonjour/Avahi) allows devices to announce and discover services without a DNS server. It uses multicast packets that do not cross VLAN boundaries. This is normally what you want (IoT devices should not be discoverable from the trusted VLAN without going through your firewall rules). But some use cases require cross-VLAN mDNS:

  • Apple AirPlay: requires mDNS to discover AirPlay receivers
  • Chromecast: requires mDNS from the phone VLAN to the Chromecast’s VLAN
  • Printer discovery: requires mDNS from workstations to printer VLAN

Solutions:

  1. UniFi mDNS: UniFi Network Application has a built-in mDNS repeater. Enable it under Network → Settings → Services → mDNS. It repeats mDNS across VLANs for common services (AirPlay, Chromecast, Printer) without fully bridging the VLANs.

  2. Avahi on OPNsense/pfSense: Install the avahi package. Configure it to repeat mDNS between specific interfaces while still maintaining firewall isolation between them.

  3. Static entries: For devices where mDNS is only needed for initial setup, just note the device IP and access it directly. Avoids the cross-VLAN complexity entirely.

Practical Firewall Rules (OPNsense Format)

Configure these under Firewall → Rules → [IOT interface]:

# Rule 1: Allow IoT DNS to firewall
Action:      Pass
Interface:   IOT
Protocol:    UDP
Source:      IOT net
Destination: 192.168.30.1 (IOT gateway)
Port:        53
Description: IoT DNS to firewall

# Rule 2: Allow IoT NTP
Action:      Pass
Interface:   IOT
Protocol:    UDP
Source:      IOT net
Destination: any
Port:        123
Description: IoT NTP

# Rule 3: Allow IoT internet access (not RFC1918)
Action:      Pass
Interface:   IOT
Protocol:    TCP/UDP
Source:      IOT net
Destination: !RFC1918 (alias for 10/8, 172.16/12, 192.168/16)
Description: IoT internet access

# Rule 4: Block IoT to all private ranges (catch-all)
Action:      Block
Interface:   IOT
Protocol:    any
Source:      IOT net
Destination: RFC1918
Description: Block IoT to LAN
Log:         Enabled (useful for seeing what IoT devices try to reach)

On the TRUSTED interface, add a rule to allow access to IoT for control:

# Allow Trusted to IoT (for smart home control apps)
Action:      Pass
Interface:   TRUSTED
Protocol:    TCP/UDP
Source:      TRUSTED net
Destination: IOT net
Description: Allow trusted to control IoT devices

On the SERVERS interface, allow Home Assistant to reach IoT:

# Allow Home Assistant (192.168.20.10) to IoT
Action:      Pass
Interface:   SERVERS
Protocol:    any
Source:      192.168.20.10
Destination: IOT net
Description: Home Assistant IoT control

Why IoT Devices Are Security Nightmares

The reasons to isolate IoT are not theoretical:

  • Shodan routinely indexes home IoT devices exposed directly to the internet. Many have never received a firmware update.
  • Mirai botnet and its derivatives specifically target poorly-secured IoT devices. Once compromised, they port-scan for other vulnerable devices on the local network.
  • Default credentials (admin/admin, admin/1234) are endemic to cheap smart home hardware.
  • Vendor cloud dependencies mean that even a “local” smart home device is often communicating with servers in regions with poor data privacy laws.
  • Encryption is inconsistent: Many IoT devices use HTTP over port 80 internally, transmitting data (sometimes including credentials) in plaintext.

An isolated IoT VLAN with blocked LAN access contains the blast radius of any of these issues to the IoT subnet itself.


The Guest Network

A guest network is effectively another isolated VLAN — internet access only, no visibility into your network.

Additional considerations beyond basic VLAN isolation:

Client isolation: Guests should not be able to see each other’s devices. In UniFi, enable “Client Device Isolation” on the Guest SSID. In OPNsense/pfSense with pfBlockerNG or captive portal, enable AP client isolation at the AP level. This prevents devices on the guest SSID from communicating with each other even within the same VLAN.

Bandwidth limiting: A single guest streaming 4K on your uplink affects everyone. Apply a rate limit on the GUEST VLAN:

In OPNsense under Firewall → Traffic Shaper → Limiters:

  • Create a limiter: 50 Mbps download, 20 Mbps upload for the GUEST interface
  • Apply it to the GUEST firewall pass rule as an in/out pipe

Captive portal: For AirBnB, short-term rental, or any situation where you want time-limited or password-protected access, OPNsense’s built-in captive portal (under Services → Captive Portal) handles this cleanly. Set a voucher system with 24-hour or 72-hour expiry.


Cable Management

Messy cable management is not just aesthetically offensive — it makes troubleshooting significantly harder. When a connection drops and you need to trace a cable, finding it in a rat’s nest of unlabeled cables behind a switch takes far longer than it should.

Rack Cable Management

Horizontal cable managers: 1U plastic or metal trays that mount between your patch panel and switch in the rack. Cable runs along them before plugging into patch panel ports. This keeps patch cables from dangling across switch ports and blocking airflow.

Velcro straps, not zip ties: Zip ties, once tightened, are permanent. Moving or replacing a cable requires cutting the tie and replacing it, which often means disturbing adjacent cables. Velcro straps are reusable and adjustable. Use them everywhere in your rack.

Color coding: Assign cable jacket colors by VLAN or purpose:

Color VLAN / Use
Blue VLAN 10 — Trusted
Green VLAN 20 — Servers
Yellow VLAN 30 — IoT
Orange VLAN 40 — Guest
Red VLAN 50 — Management / uplinks
White Patch cables within rack
Black Power cables

This is more aspirational than strictly necessary for small installs, but once you have a 24-port patch panel fully populated, being able to identify a cable’s purpose by color without reading the label saves time constantly.

Patch cable lengths: Use short patch cables (6-inch, 1-foot, 2-foot) within the rack. Long patch cables in a small rack create excessive slack that blocks airflow and is visually chaotic. Many vendors sell pre-made patch cables in these short lengths.

Labeling Systems

Label both ends of every cable. A cable is only as useful as your ability to identify what it connects.

Label format recommendation: [LOCATION]-[PORT]

Examples:

  • LR-P1 — Living Room, Port 1
  • OFC-P2 — Office, Port 2
  • GAR-P1 — Garage, Port 1
  • PP1-01 — Patch Panel 1, Port 01 (label on the wall outlet end)

Label makers: The Brother PT-D600 ($60) or PT-E110 ($40) produce durable, adhesive labels that stick to ethernet cables and patch panels. Avoid paper labels — they absorb grease and fall off. Brother’s TZe tapes are laminated and last years.

Patch panel labeling: Most patch panels have a paper insert strip across the front. Fill this out with room/drop identifiers before mounting. Some homelabbers prefer adhesive label tape directly on the panel.

Wall Plate Organization

Use dual keystone plates to handle ethernet plus a secondary element per plate:

  • Ethernet + blank keystone (for a second ethernet run added later)
  • Ethernet + USB-C keystone (convenient for phone charging at a desk)
  • Ethernet + coax keystone (if you have coax runs for cable TV or MoCA adapters)

Leviton, Legrand, and Panduit all make clean single-gang keystone wall plates and matching furniture-style plastic inserts that look better than contractor-grade white plastic.

Cable Routing Outside the Rack

Cable raceways: Wiremold and similar surface-mount plastic channel raceways mount along baseboards or high on walls and hide cables cleanly. Available in paintable white plastic (blend with walls) and metal. Good for apartments or runs that cannot go through walls.

Cable clips along joists: In unfinished basements or attics, use J-clips or cable staples rated for the cable type to fasten cables to joists at regular intervals (~24 inches). Cables hanging loose over long spans eventually catch on things, get pulled, and fail.

Conduit for long or outdoor runs: Any run longer than 20 feet in an accessible space benefits from conduit. 1/2-inch EMT conduit from a basement to the first floor wall outlet allows future cable replacement without demolition. 3/4-inch conduit for runs with multiple cables. For outdoor runs between buildings (house to detached garage), use schedule 40 PVC buried below the frost line with outdoor-rated direct-burial cable or pull cable through conduit.


Monitoring and Troubleshooting

A network you cannot observe is a network you cannot maintain.

Network Monitoring Tools

Tool Use Self-Hosted?
UniFi Network Application Client history, throughput, AP heatmaps Yes (on-prem or cloud)
ntopng Flow-based traffic monitoring, protocol breakdown Yes
LibreNMS SNMP polling for switches/routers, graphs, alerting Yes
Uptime Kuma Internal and external service monitoring, status pages Yes
Netdata Real-time system and network metrics Yes
Wireshark / tcpdump Packet-level capture for deep diagnostics CLI/GUI

LibreNMS is particularly valuable for homelab network monitoring. Install it on a server in your SERVERS VLAN, configure SNMP community strings on your switches, and you get interface utilization graphs, error counters, and alerting when a switch port goes down.

Quick LibreNMS SNMP setup on a MikroTik switch:

1
2
3
# On MikroTik RouterOS
/snmp community add name=librenmscommunity addresses=192.168.20.5/32
/snmp set enabled=yes

Then add the switch as a device in LibreNMS with the community string.

Diagnosing Wi-Fi Issues

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# Check current Wi-Fi association details (Linux)
iw dev wlan0 station dump

# Show current signal strength and bitrate
iwconfig wlan0

# Rapid ping for packet loss detection (one packet every 200ms)
ping -i 0.2 192.168.10.1

# Show nearby APs and their channels (Linux)
nmcli dev wifi list

# On Android: Wi-Fi Analyzer (by farproc) shows channel congestion,
# signal strength, and neighbor APs in real-time

Common Wi-Fi issues and their causes:

Symptom Likely Cause Fix
Slow on 2.4 GHz Channel congestion from neighbors Switch to channel 1, 6, or 11 (least congested)
Drops when moving between rooms Poor roaming (802.11r not enabled) Enable 802.11r, 802.11k, 802.11v on all APs
Good signal but low throughput Interference, wrong channel width Try 40 MHz channel on 2.4 GHz, 80 MHz on 5 GHz
Device stuck on distant AP Sticky client not roaming Enable BSS Transition (802.11v) + 802.11k
IoT devices won’t connect 5 GHz SSID on IoT network Restrict IoT SSID to 2.4 GHz only

Diagnosing Wired Issues

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
# Check link speed and duplex negotiation
ethtool eth0
# Look for: Speed: 1000Mb/s  Duplex: Full  Link detected: yes

# Test actual throughput between two hosts with iperf3
# On the receiving host (server mode):
iperf3 -s

# On the sending host (client mode), run 30-second test:
iperf3 -c 192.168.20.10 -t 30

# Test with multiple parallel streams (better for measuring bonded links):
iperf3 -c 192.168.20.10 -P 4 -t 30

# Test in reverse (server sends to client — tests uplink):
iperf3 -c 192.168.20.10 -R -t 30

# Quick MTU test (ping with large packet, DF bit set):
ping -M do -s 1472 192.168.10.1

Expected throughput on a 1 GbE link: 940–950 Mbps with iperf3. Anything below 800 Mbps warrants investigation (duplex mismatch, bad cable, overloaded switch).

For a 2-port LACP bond, expected throughput with parallel streams:

1
2
3
# Test LACP aggregate throughput (requires 4+ parallel streams to spread across both links)
iperf3 -c 192.168.20.10 -P 4 -t 30
# Expected: ~1.8–1.9 Gbps total if both LACP members are active

Cable tester sequence for a mysterious connectivity issue:

  1. Physical: cable tester confirms continuity, no opens/shorts
  2. Link: ethtool eth0 shows link up at expected speed/duplex
  3. Layer 3: ping to gateway
  4. Throughput: iperf3 to confirm no sustained packet loss

Network Documentation

A living document is as important as the physical network. At minimum, maintain:

IP Address Spreadsheet:

Hostname IP Address VLAN MAC Address Purpose Location
opnsense 192.168.10.1 10 (gateway) Firewall/Router Rack
sw-core 192.168.50.2 50 Core Switch Rack
ap-1f 192.168.50.3 50 AP Floor 1 Living Room
nas 192.168.20.10 20 TrueNAS Rack
proxmox-1 192.168.20.20 20 Proxmox Host Rack

VLAN Table: The table from the VLAN section above, kept current.

Physical Diagram: A drawing or diagram tool (draw.io / diagrams.net is free) showing physical cable runs, port assignments on the patch panel, and device locations. Update it every time the physical network changes.

Netbox (self-hosted at github.com/netbox-community/netbox) is the professional solution for IPAM (IP Address Management) and network documentation. It models racks, devices, interfaces, IP addresses, VLANs, and cable runs. Overkill for a small home network, but genuinely useful once you have more than 20 devices to track.


Putting It All Together: Example Home Network Designs

Tier 1 — Apartment or Small Home

For a one or two-bedroom apartment or small house with modest homelab aspirations:

ISP Modem (bridge mode)
    │
    └─► OPNsense (Beelink EQ12 mini PC, ~$200)
            │ LAN trunk (all VLANs)
            └─► TP-Link TL-SG108E 8-port managed switch (~$35)
                    ├── Port 1: Trunk to OPNsense (VLANs 10, 30, 40)
                    ├── Port 2: Trunk to AP (VLANs 10, 30, 40)
                    ├── Port 3–4: Access VLAN 10 (Trusted — desktop, NAS)
                    ├── Port 5–6: Access VLAN 30 (IoT — devices with ethernet)
                    └── Port 7–8: Spare

AP: 1× Ubiquiti UniFi U6 Lite (~$100, PoE from injector)
SSIDs: home (VLAN 10), home-iot (VLAN 30), home-guest (VLAN 40)

Total hardware cost: ~$335 Capability: Full VLAN segmentation, IoT isolation, stable Wi-Fi, basic homelab support

Tier 2 — Medium Home with Homelab

For a 2,000–3,000 sq ft home with a Proxmox server, NAS, and 3 floors:

ISP Modem (bridge mode)
    │
    └─► OPNsense (Protectli Vault FW4C, ~$330)
            │ LAN trunk (all VLANs)
            └─► MikroTik CRS326-24G-2S+RM 24-port switch (~$180)
                    │
                    ├── Port 1: Trunk to OPNsense
                    ├── Port 2-4: Trunk to 3× APs (PoE injectors)
                    ├── Port 5-6: LACP bond to NAS (VLAN 20)
                    ├── Port 7-8: LACP bond to Proxmox host (VLAN 20)
                    ├── Port 9-12: Access ports VLAN 10 (Trusted)
                    ├── Port 13-16: Access ports VLAN 30 (IoT wired)
                    ├── Port 17-18: Trunk to Proxmox (multi-VLAN)
                    └── SFP+1-2: 10GbE to NAS or spare for future

12-port patch panel above switch in wall-mount rack
3× Ubiquiti UniFi U6 LR (~$150 each): floors 1, 2, basement

Total hardware cost: ~$1,040 (excluding servers/NAS) Capability: Full VLAN isolation, LACP for NAS/Proxmox, 10GbE capable, whole-home Wi-Fi with roaming

Tier 3 — Large Home or Full Homelab

For a large home or serious homelab with high-density Wi-Fi requirements and 10 Gbps internal networking:

ISP Modem (bridge mode)
    │
    └─► OPNsense (Protectli Vault FW6D, ~$550, 6× 2.5GbE)
            │ 10GbE SFP+ uplink (fiber DAC)
            └─► MikroTik CRS312-4C+8XG core switch (~$300, 8× 10GbE)
                    │
                    ├── 10GbE: Proxmox Node 1
                    ├── 10GbE: Proxmox Node 2
                    ├── 10GbE: TrueNAS
                    ├── 10GbE: Distribution switch Floor 1
                    │         └─► Ubiquiti USW-24-PoE (~$400)
                    │               ├── PoE APs (3× U6 Pro)
                    │               └── Wired devices Floor 1
                    ├── 10GbE: Distribution switch Floor 2
                    │         └─► Ubiquiti USW-16-PoE (~$200)
                    │               ├── PoE APs (2× U6 LR)
                    │               └── Wired devices Floor 2
                    └── 10GbE: Spare / expansion

All structured cabling terminates at 24-port patch panels per floor
in a 12U wall-mount rack with cable management panel and UPS

Total network hardware cost: ~$2,400 (excluding compute/storage) Capability: 10 Gbps internal fabric, full redundancy, enterprise Wi-Fi management, scalable to additional floors or buildings


Quick Reference Checklist

Physical Infrastructure:
  □ Star topology — all runs back to central switch
  □ Cat6 CMR/CMP cable for all in-wall runs
  □ Both ends labeled with room/port identifier
  □ Patch panel in rack, short patch cables to switch
  □ Cable tester confirms continuity before closing walls
  □ PoE switch or PoE injectors for all APs

Switch Configuration:
  □ Managed switch at core (VLAN capable)
  □ Trunk ports to router, APs, and distribution switches
  □ Access ports to end devices with correct PVID
  □ Native VLAN set to unused VLAN ID (e.g., 99)
  □ LACP configured for NAS/server dual-NIC connections
  □ Management VLAN restricted to admin-only access

Router/Firewall:
  □ ISP device in bridge/passthrough mode (no double NAT)
  □ Dedicated router/firewall (OPNsense, pfSense, UniFi Dream Machine)
  □ VLAN interfaces configured with correct subnets
  □ DHCP server running per VLAN
  □ DNS resolver configured (Unbound or AdGuard Home)

Wi-Fi:
  □ Wired backhaul to every AP
  □ 802.11r/k/v enabled for seamless roaming
  □ Separate SSIDs per VLAN (Trusted, IoT, Guest)
  □ IoT SSID restricted to 2.4 GHz
  □ WPA3 on trusted SSID
  □ Client isolation enabled on Guest and IoT SSIDs

VLAN Security:
  □ IoT VLAN: internet-only, RFC1918 blocked
  □ Guest VLAN: internet-only, client isolation enabled
  □ Management VLAN: no wireless SSID, restricted source IPs
  □ Firewall log enabled on block rules
  □ mDNS repeater configured if AirPlay/Chromecast needed

Cable Management:
  □ Both ends of every cable labeled
  □ Velcro straps (not zip ties) in rack
  □ Color coding by VLAN/purpose
  □ Horizontal cable managers in rack
  □ Short patch cables within rack
  □ Network diagram kept current

A network built this way is one you can trust and maintain. When a device drops, you know which port it is on and which VLAN it belongs to. When something is slow, iperf3 tells you where the bottleneck is. When an IoT device gets compromised, your firewall logs show you what it tried to reach and your rules prevented it from succeeding. That is the point — not a perfect network, but a network you can see, understand, and fix.

Comments