← All articles
grayscale photography of metal cables

Planning Static IP Addresses in Your Homelab

Networking 2026-03-04 · 4 min read networking static ip dhcp vlan ip addressing homelab subnets dns
By HomeLab Starter Editorial TeamHome lab enthusiasts covering hardware setup, networking, and self-hosted services for home and small office environments.

A poorly planned homelab network with dynamic IPs becomes frustrating quickly. Services move to new addresses after router restarts, DNS records go stale, and you're constantly checking ip a just to SSH into something. Good IP address management takes 30 minutes to set up and saves hours of confusion later.

Photo by Àlex Folguera on Unsplash

The Core Problem with DHCP

DHCP assigns addresses automatically, which is convenient. But:

For homelab infrastructure, consistency is more important than convenience. You want to know that your NAS is always at 10.0.0.20 and your Proxmox host is always at 10.0.0.10.

Two Approaches to Static IPs

DHCP Reservations (Recommended)

DHCP reservations tell your router to always assign the same IP to a device based on its MAC address. The device still uses DHCP, but it always gets the same IP.

Advantages:

How to configure (in most routers):

  1. Find the device's MAC address
  2. In router settings: DHCP → Static Leases or Address Reservations
  3. Add entry: MAC address → IP address
  4. Save and reconnect the device

For pfSense/OPNsense: Services → DHCP Server → Add static mapping.

True Static IPs (On the Device)

Configure the IP directly on the device's network interface. The device doesn't use DHCP at all.

Advantages:

Disadvantages:

For servers (Proxmox, TrueNAS, network infrastructure), true static IPs make sense. For workstations and IoT, DHCP reservations are usually better.

IP Address Scheme Planning

A clean address scheme makes your network self-documenting. Common homelab schemes:

Simple Flat Network

For a simple homelab without VLANs:

Subnet: 192.168.1.0/24 (or 10.0.0.0/24)
Gateway/Router: .1
Network infrastructure: .1-.19
Servers/homelab: .20-.99
Personal computers: .100-.149
IoT devices: .150-.199
DHCP range: .200-.249
Reserved: .250-.254

Example:

10.0.0.1    Router/gateway
10.0.0.2    Managed switch
10.0.0.3    Access point
10.0.0.10   Proxmox host 1
10.0.0.11   Proxmox host 2
10.0.0.20   TrueNAS
10.0.0.30   Raspberry Pi (always-on services)
10.0.0.40   Home Assistant
10.0.0.50   Pi-hole / AdGuard

VLAN-Based Network

With VLANs, each network segment gets its own subnet:

10.0.10.x/24  Management VLAN (Proxmox, switches, APs)
10.0.20.x/24  Servers VLAN (NAS, media, databases)
10.0.30.x/24  IoT VLAN (smart home, cameras)
10.0.40.x/24  Guest VLAN
10.0.50.x/24  Trusted clients (personal PCs, phones)

Consistent numbering helps: VLAN 10 → 10.0.10.x, VLAN 20 → 10.0.20.x.

/24 vs. Larger Subnets

A /24 subnet provides 254 usable addresses. Most homelabs never exhaust this. If you're planning for many IoT devices or have multiple physical sites, consider:

Like what you're reading? Subscribe to HomeLab Starter — free weekly guides in your inbox.

DNS and IP Management

Local DNS with Pi-hole or AdGuard Home

Add your static IPs as local DNS entries:

nas.home          → 10.0.0.20
proxmox.home      → 10.0.0.10
homeassistant.home → 10.0.0.40

Access services by name instead of IP. When an IP changes (if you reconfigure), update the DNS record in one place.

Technitium DNS

Technitium DNS provides a full DNS server with a web UI for managing local records. More powerful than Pi-hole for local DNS if you have complex needs.

Self-Hosted DNS Zones

For a custom TLD (.home, .lan, .internal):

  1. Configure your router/pfSense to use your local DNS server for resolution
  2. Add a forwarder for everything else (8.8.8.8 for public DNS)
  3. Create A records for all your static IPs

Documentation: Don't Skip This

The most important step is writing it down. A simple spreadsheet or network diagram that maps IP → hostname → service is invaluable.

Minimum documentation:

IP Address    Hostname      Service           Location
10.0.0.1      router        OPNsense          Rack
10.0.0.10     proxmox       Proxmox VE        Rack U4
10.0.0.20     truenas       TrueNAS Scale     Rack U6
10.0.0.30     pi4           Home Assistant    Shelf

Tools for network documentation:

Reserved Ranges and Avoiding Conflicts

Prevent IP conflicts by:

Common router defaults use 192.168.0.x or 192.168.1.x. Using 10.0.0.x or a non-default 192.168.x.x avoids conflicts when VPN-ing into other networks.

Practical First Steps

  1. Inventory your current network: Log into your router and note which devices have leases
  2. Choose your scheme: Pick a range, decide on categories
  3. Configure router DHCP: Set the DHCP dynamic range (e.g., .200-.249), leaving lower addresses for statics
  4. Assign reservations: For servers and important infrastructure, add DHCP reservations
  5. Set true static IPs on critical infrastructure: Router, NAS, Proxmox hosts
  6. Add local DNS entries: Map names to IPs
  7. Document everything: Spreadsheet or wiki page

The 30 minutes you spend planning your IP scheme now prevents an hour of confusion every time you add a new service to your homelab.

Get free weekly tips in your inbox. Subscribe to HomeLab Starter