Migrating DHCP to a new Windows Server 2025 box with an IP swap – sanity check on my plan?
retained text
Hi all, I'm planning to move our DHCP role from an old \[Windows Server 20XX\] server to a new Windows Server 2025 server (member server, not a DC) and would appreciate a sanity check before the maintenance window. The plan is to give the new server the old server's IP address, so we don't have to touch the DHCP relay (IP helper) configuration on our network devices. **Planned steps:** *Preparation* 1. Install the DHCP role on the new server and create the security groups (`Add-DhcpServerSecurityGroup`). 2. Record scope, lease and reservation counts on the old server for comparison. *Cutover* 1. Export the config with leases: `Export-DhcpServer -ComputerName <Old> -Leases -File C:\DHCP\export.xml` 2. Unauthorize DHCP on the old server, stop the service and set it to Disabled. 3. Change the old server's IP, update its DNS record, reboot once. 4. Assign the old IP to the new server and update its DNS record. 5. Import: `Import-DhcpServer -ComputerName <New> -Leases -File C:\DHCP\export.xml -BackupPath C:\DHCP\Backup\` 6. Authorize the new server in AD (`Add-DhcpServerInDC`). *Validation* 1. Compare scope/lease/reservation counts with the old server. 2. Test IP assignment from clients in different VLANs. *Rollback:* stop DHCP on the new server, re-enable and re-authorize the old one. We're not using DHCP failover, and I've checked that there are no DNS dynamic update credentials or members in the local DHCP Administrators group that would need to be recreated. **Questions:** 1. Is the IP swap approach reasonable here, or is it cleaner to just keep the new server's own IP and update the IP helpers instead? 2. Anything I'm missing in the order of steps, e.g. ARP cache issues on switches/routers after the IP swap? 3. Any gotchas importing an export from \[Windows Server 20XX\] into 2025? 4. How long did you keep the old server around before decommissioning? Thanks in advance!
document fetched 2026-09-30 00:40 · canonical https://reddit.com/r/sysadmin/comments/1wt36oo/migrating_dhcp_to_a_new_windows_server_2025_box