Homelab Network Setup
Use this skill to design a home or small-lab network that can grow without
needing a full rebuild.
When to Use
- Planning a new home network or redesigning an ISP-router-only setup.
- Choosing gateway, switch, and access point roles.
- Designing IP ranges, DHCP scopes, static reservations, and DNS.
- Preparing for future VLANs, Pi-hole, NAS, lab servers, or VPN access.
- Troubleshooting a new network that has double NAT, unstable Wi-Fi, or changing
server addresses.
How It Works
Start by separating device roles:
Internet
|
Modem or ONT
|
Gateway or router NAT, firewall, DHCP, DNS, inter-VLAN routing
|
Managed switch wired clients, AP uplinks, optional VLAN trunks
|
Access points Wi-Fi only; ideally wired backhaul
Servers and NAS stable addresses, DNS names, monitoring
Clients and IoT DHCP pools, isolated later if VLANs are available
Pick a gateway that matches the operator, not just the feature checklist:
| Option |
Best fit |
Notes |
| ISP router |
Basic internet only |
Limited control and often poor VLAN support |
| UniFi gateway |
Managed home network |
Good UI, ecosystem lock-in |
| OPNsense or pfSense |
Flexible homelab |
Strong VLAN, firewall, VPN, and DNS control |
| MikroTik |
Advanced network users |
Powerful, but easy to misconfigure |
| Linux router |
Tinkerers |
Document rollback before using as primary gateway |
IP Plan
Avoid the most common default, 192.168.1.0/24, when you expect to use VPNs.
It often conflicts with hotels, offices, and ISP routers.
Example small homelab plan:
192.168.10.0/24 trusted clients
192.168.20.0/24 IoT and media devices
192.168.30.0/24 servers and NAS
192.168.40.0/24 guest Wi-Fi
192.168.99.0/24 network management
Gateway convention: .1
Infrastructure reservations: .2 through .49
Dynamic DHCP pool: .50 through .240
Spare room: .241 through .254
Use home.arpa for local names. It is reserved for home networks and avoids the
leakage/conflict problems of ad hoc names like home.lan.
nas.home.arpa
pihole.home.arpa
gateway.home.arpa
switch-01.home.arpa
DHCP And DNS
- Use DHCP reservations for anything you SSH into, bookmark, monitor, or expose
as a service.
- Hand out the gateway as DNS until a local resolver is intentionally deployed.
- If using Pi-hole or another DNS filter, give it a reservation first, then point
DHCP DNS options at that address.
- Keep a small static/reserved range per subnet so replacements do not collide
with dynamic leases.
Cabling And Wi-Fi
- Prefer wired AP backhaul over mesh when you can run Ethernet.
- Use a PoE switch for APs and cameras if the budget allows it.
- Label both ends of each cable and keep a simple port map.
- Put the gateway, switch, DNS server, and NAS on UPS power if outages are common.
Examples
Beginner Upgrade
Goal: Keep the ISP router but stabilize a small lab.
- Set DHCP reservations for NAS, Pi, and any SSH hosts.
- Move local names to
home.arpa.
- Disable duplicate DHCP servers on secondary routers or APs.
- Wire the main AP instead of relying on wireless backhaul.
VLAN-Ready Plan
Goal: Prepare for future segmentation without enabling it immediately.
- Choose non-overlapping /24 ranges for trusted, IoT, servers, guest, and
management.
- Reserve .1 for the gateway and .2-.49 for infrastructure on every subnet.
- Buy a gateway and switch that support VLANs and inter-VLAN firewall rules.
- Document which SSIDs and switch ports will eventually map to each network.
Anti-Patterns
- Double NAT without a reason or documentation.
- Using
192.168.1.0/24 when VPN access is planned.
- Dynamic addresses for NAS, Pi-hole, Home Assistant, or other service hosts.
- Consumer routers repurposed as APs while their DHCP servers are still enabled.
- Flat networks with cameras, smart plugs, laptops, and servers all sharing the
same trust boundary.
See Also
- Skill:
network-interface-health
- Skill:
network-config-validation
Source: affaan-m/ECC → skills/homelab-network-setup/SKILL.md
Also appears in: affaan-m/ECC/docs/ja-JP/skills/homelab-network-setup/SKILL.md
1---2name: homelab-network-setup3description: Practical home and homelab network planning for gateways, switches, access points, IP ranges, DHCP reservations, DNS, cabling, and common beginner mistakes.4---5# Homelab Network Setup67Use this skill to design a home or small-lab network that can grow without8needing a full rebuild.910## When to Use1112- Planning a new home network or redesigning an ISP-router-only setup.13- Choosing gateway, switch, and access point roles.14- Designing IP ranges, DHCP scopes, static reservations, and DNS.15- Preparing for future VLANs, Pi-hole, NAS, lab servers, or VPN access.16- Troubleshooting a new network that has double NAT, unstable Wi-Fi, or changing17 server addresses.1819## How It Works2021Start by separating device roles:2223```text24Internet25 |26Modem or ONT27 |28Gateway or router NAT, firewall, DHCP, DNS, inter-VLAN routing29 |30Managed switch wired clients, AP uplinks, optional VLAN trunks31 |32Access points Wi-Fi only; ideally wired backhaul33Servers and NAS stable addresses, DNS names, monitoring34Clients and IoT DHCP pools, isolated later if VLANs are available35```3637Pick a gateway that matches the operator, not just the feature checklist:3839| Option | Best fit | Notes |40| --- | --- | --- |41| ISP router | Basic internet only | Limited control and often poor VLAN support |42| UniFi gateway | Managed home network | Good UI, ecosystem lock-in |43| OPNsense or pfSense | Flexible homelab | Strong VLAN, firewall, VPN, and DNS control |44| MikroTik | Advanced network users | Powerful, but easy to misconfigure |45| Linux router | Tinkerers | Document rollback before using as primary gateway |4647## IP Plan4849Avoid the most common default, `192.168.1.0/24`, when you expect to use VPNs.50It often conflicts with hotels, offices, and ISP routers.5152```text53Example small homelab plan:5455192.168.10.0/24 trusted clients56192.168.20.0/24 IoT and media devices57192.168.30.0/24 servers and NAS58192.168.40.0/24 guest Wi-Fi59192.168.99.0/24 network management6061Gateway convention: .162Infrastructure reservations: .2 through .4963Dynamic DHCP pool: .50 through .24064Spare room: .241 through .25465```6667Use `home.arpa` for local names. It is reserved for home networks and avoids the68leakage/conflict problems of ad hoc names like `home.lan`.6970```text71nas.home.arpa72pihole.home.arpa73gateway.home.arpa74switch-01.home.arpa75```7677## DHCP And DNS7879- Use DHCP reservations for anything you SSH into, bookmark, monitor, or expose80 as a service.81- Hand out the gateway as DNS until a local resolver is intentionally deployed.82- If using Pi-hole or another DNS filter, give it a reservation first, then point83 DHCP DNS options at that address.84- Keep a small static/reserved range per subnet so replacements do not collide85 with dynamic leases.8687## Cabling And Wi-Fi8889- Prefer wired AP backhaul over mesh when you can run Ethernet.90- Use a PoE switch for APs and cameras if the budget allows it.91- Label both ends of each cable and keep a simple port map.92- Put the gateway, switch, DNS server, and NAS on UPS power if outages are common.9394## Examples9596### Beginner Upgrade9798Goal: Keep the ISP router but stabilize a small lab.991001. Set DHCP reservations for NAS, Pi, and any SSH hosts.1012. Move local names to `home.arpa`.1023. Disable duplicate DHCP servers on secondary routers or APs.1034. Wire the main AP instead of relying on wireless backhaul.104105### VLAN-Ready Plan106107Goal: Prepare for future segmentation without enabling it immediately.1081091. Choose non-overlapping /24 ranges for trusted, IoT, servers, guest, and110 management.1112. Reserve .1 for the gateway and .2-.49 for infrastructure on every subnet.1123. Buy a gateway and switch that support VLANs and inter-VLAN firewall rules.1134. Document which SSIDs and switch ports will eventually map to each network.114115## Anti-Patterns116117- Double NAT without a reason or documentation.118- Using `192.168.1.0/24` when VPN access is planned.119- Dynamic addresses for NAS, Pi-hole, Home Assistant, or other service hosts.120- Consumer routers repurposed as APs while their DHCP servers are still enabled.121- Flat networks with cameras, smart plugs, laptops, and servers all sharing the122 same trust boundary.123124## See Also125126- Skill: `network-interface-health`127- Skill: `network-config-validation`128129---130131**Source:** [`affaan-m/ECC`](https://github.com/affaan-m/ECC) → `skills/homelab-network-setup/SKILL.md`132133**Also appears in:** `affaan-m/ECC/docs/ja-JP/skills/homelab-network-setup/SKILL.md`