Skip to content
Ipnoria
All articles

Replacing a Windows Server DHCP with Linux: method and pitfalls

November 21, 2026, 6 min read

Inventory, export, lease takeover, coexistence then switchover: how to leave a Windows DHCP without downtime, and the five pitfalls that make a migration fail.

Why migrate now

A Windows Server version reaching end of support, license and CAL costs, the wish to bring DHCP, DNS and inventory together: the reasons vary, the fear is the same. DHCP is invisible while it works, and a mistake shows up immediately, on every device.

Good news: it's one of the simplest services to migrate cleanly, as long as you follow the order and leave nothing to chance.

The method in four steps

First the inventory: scopes, reservations, options, policies, existing failover. Then the full server export (Export-DhcpServer) and its import, checking what will be created. Then the takeover of active leases, so every device gets its address back.

Next comes coexistence: the new server is ready but not announced yet. Switching over means pointing DHCP relays to it, network by network, and disabling scopes on the Windows side. Rolling back stays possible as long as the old server is still running.

Five classic pitfalls

Windows DHCP policies and classes have no direct equivalent: they are recreated by hand, which is why you list them first. Vendor-specific options (252 for WPAD, vendor options) are often forgotten. Two servers active on the same scope hand out duplicate addresses: disable before you enable.

DHCP relays live in routers and switches, not on the server: list them all. Finally, lease duration: shorten it a few days before switching, so devices renew quickly and pick up the new server.

Test before touching production

The DHCP import preview reads your export in the browser, without sending it, and shows what Ipnoria would create and what will need redoing by hand. The migration guide details every command, coexistence and rollback.