Static IPs vs DHCP reservations in the home lab: a layout that stays sane
Every home lab eventually has the same bad evening: a service "disappears", the address you bookmarked answers with a different machine, and somewhere a phone is holding the IP your file server was using. The cause is almost never exotic. It is an addressing plan that grew by accident, a static set here, a lease there, no record of either. This guide lays out the three ways a device can get an address, which lab devices should use which, and a small range plan you can copy outright.
Three ways to get an address
| Manual static IP | DHCP reservation | Dynamic DHCP | |
|---|---|---|---|
| Configured where | On the device itself | On the DHCP server, bound to the device's MAC address | On the DHCP server, from a pool |
| Address stability | Fixed | Fixed, same address every lease | Changes over time |
| Management | Per device, in your head or a note | One central list | One central list |
| Conflict risk | High, no central record | Low, the server will not double-assign | Low |
| Works if DHCP is down? | Yes, fully independent | Only until the lease needs renewal | Only until the lease expires |
| Best for | The gateway, the DHCP/DNS server itself, out-of-band management | Lab services, hypervisor hosts, printers, anything bookmarked | Laptops, phones, guests, experiments |
The one failure to design against
Understand this mechanism and the whole plan makes sense. A manual static address is invisible to the DHCP server: the server does not know the address exists. If the statically configured device is switched off, the server can cheerfully lease that same address to a laptop. When the static device boots again, two machines hold one address and both lose connectivity, intermittently, confusingly, and usually at the worst moment. DHCP, for its part, can also end a lease and reuse an address for a new device, so "it has been.42 for months" is not a plan for anything you bookmark. The design goal is simple: every fixed address must be known to the one authority, either reserved by the server, or placed in a range the server never touches.
Who gets what: the role table
Manual statics, the infrastructure that DHCP itself depends on. The router/gateway, and the machine that runs your DHCP and DNS (often the same box, or a Pi-hole-style appliance), cannot wait for a lease from a service they are responsible for. Out-of-band management interfaces (server BMC/iDRAC/iLO-style ports) belong here too, you want them reachable precisely when everything else is down. One more genuine static case, surfaced by practitioners: some server installers detect that an address came from DHCP, even a reserved one, and refuse to proceed. Those servers get statics, and it is a legitimate exception, not a habit.
DHCP reservations, everything you reach for by address. Hypervisor hosts, NAS boxes, self-hosted services, printers, smart-home hubs. Reservations give them fixed addresses with central change control: when a service moves to new hardware, you edit one line on the server instead of reconfiguring the device, and the server's own bookkeeping prevents double-assignment.
Dynamic, everything else. Phones, laptops, guests, test VMs, the smart bulb you will replace in a year. If nothing connects to it by address, it does not need a fixed one.
A copyable /24 layout
For a typical home network such as 192.168.1.0/24, this shape works and scales further than most labs grow:
| Range | Assignment |
|---|---|
| .1 | Gateway/router (static) |
| .2,.49 | Infrastructure statics: DHCP/DNS server, switches' management, BMC ports, outside the DHCP scope entirely |
| .50,.99 | DHCP reservations: hosts, NAS, services, printers |
| .100,.199 | Dynamic pool: clients, guests, experiments |
| .200,.254 | Spare: future VLAN experiments, temporary test statics |
Two implementation notes from practice. First, prefer shrinking the DHCP scope to the dynamic range over maintaining a long exclusion list inside a wide scope, a smaller scope is one fact to remember, while exclusions are a dozen facts to forget. Second, write the plan down where the router's config lives (the lab documentation habit), because the plan you cannot find during an outage is a rumour.
Setting it up: the procedure
- Inventory what you have. From the router's client list, note every device that anything else connects to by address. That list is your reservation and static candidates.
- Shrink the DHCP scope to the dynamic range (.100,.199 above) in the router or DHCP server settings.
- Set the infrastructure statics on the devices themselves, inside the.2,.49 block, and record each one in the plan document as you go.
- Create reservations for the service devices: find each device's MAC address in the client list, bind it to its planned.50,.99 address, and note the service name beside it.
- Renew leases on the reserved devices (reboot them, or toggle their network) so they pick up their reserved addresses, and update your bookmarks and any configs that hard-code the old addresses.
- Verify from a client: ping each fixed address, open each service, and confirm the router's reservation table matches your written plan exactly.
What success looks like
Success is a boring router page: every address you care about appears in exactly one place, the static block in your notes, or the reservation table, and nothing you bookmark has changed address in a month of reboots, including a full power-cycle of the lab. The outage test is the real certificate: with the DHCP service stopped, the gateway, DNS, and management interfaces still answer, because the infrastructure never depended on the thing it can now help you fix.
The two rules that keep it sane forever
Plans decay; rules survive. Two rules protect this layout against your future self, who will be tired, in a hurry, and certain he will remember. Rule one: a fixed address is either reserved on the server or inside the static block, never anywhere else, and never "just this once". Every exception is a future conflict with a date on it. Rule two: the plan document is edited in the same sitting as the router, every time. A reservation added without its note, or a note written for a reservation never created, is the same failure wearing two coats: the map and the territory disagree, and the next troubleshooting session starts by doubting both. If you keep only these two rules, the layout above can be rebuilt from the document alone after any hardware change, which is the real definition of a sane addressing plan. It is not that nothing ever breaks; it is that breakage has exactly one place to be looked up.
FAQ
Can I just reserve everything? Everything except the infrastructure DHCP and DNS themselves depend on. Reservations still require the DHCP service to be reachable at lease and renewal time; the boxes that provide the network's foundations should not need it.
My router calls reservations "static leases" or "fixed IPs". Same thing? Yes, vendor names vary. If it is configured on the router/DHCP server against a MAC address, it is a reservation, with all the central-management benefits above.
What about IPv6? The same philosophy applies with different mechanics (SLAAC and DHCPv6). Get the IPv4 plan sane first; it is the one your services and bookmarks actually use today.