Router – Replacing router’s DHCP server with Windows Server DHCP

dhcprouterwindows-server-2012

I have a D-Link / TP-Link router which is working as DHCP server leasing IP address to IP phones and workstations. I need to replace this with Windows Server 2012 without interrupting the operation of the devices. How this is possible?

Best Answer

The risk you have is that the new server assigns the same IP address to a new client while some other device still has a non-expired lease from the old DHCP server. There are several approaches to avoid this:

  • Decrease lease time before the change down to 30 or 60 minutes and do the change overnight. This need to be at least the current lease time in advance.
  • If you have space within the subnet and don't need to use the same pool, pick the new pool from non-overlapping range.
  • List all leases from the old DHCP and add then as static reservations to the new one before starting the service. This option minimizes the risk but possibly makes your DHCP less manageable in the future as you need to manually remove unnecessary reservations (when retiring devices or if you have temporary/foreign devices).
  • If you can say for sure that all devices will connect DHCP if the network goes down, you can reboot all switches right after the change. However, this doesn't fulfill the requirement of no downtime at all.

You know your network and needs better to pick the most suitable alternative.