There can be more to it than just turning off one server and starting another.
A few things to think about.
You may want to copy the leases from the Debian to Windows server. Otherwise your Windows server may hand out IPs that were already leased, and still active from the Debian server causing IP conflicts. If you have a small number of hosts you could possibly get around this.
For example lets say if the DHCP server is only responsible for 30 hosts in a /24. If your Debian server is currently configured to hand out IPs from 192.168.0.10 - 192.168.0.254 you could modify this scope before the change so it would only hand out IPs 192.168.0.10 - 192.168.0.50, and then configure your Windows server to have 192.168.0.100 - 192.168.0.150 for its pool of addresses. Then wait for leases to expire and verify all hosts are in the 192.168.0.10 - 192.168.0.50 range. Then turn off the DHCP daemon on the Debian server, and start up the Windows server.
Once the leases start to expire from the debian server they will eventually broadcast discovers and pick up the new server.
If you have DHCP relays configured for any subnets they will need to be updated to forward to the Windows server if it has a different
IP.
|