Original Article: https://www.terminalworks.com/blog/post/2016/03/08/dhcp-server-migration-from-server-2008r2-to-server-2012r2
DHCP server migration from server 2008R2 to server 2012R2
8. March 2016 adesilvaTech-Tips
Dynamic Host Configuration Protocol also known as DHCP is used to automatically provides an Internet Protocol (IP) host with its IP address and other related configuration information such as the subnet mask, DNS and default gateway. With windows server 2003, DHCP server role is built in to the operating system. You can add this server role and it can serve as a DHCP host.
Migrating DHCP to a new server or windows server 2012R2 is pretty straight forward process. First you need to back up the configurations and stop the DHCP service from the source server. Then you have to install the DHCP server role in the new server and restore the backup.
Follow the detail steps in below.
- Login to the 2008R2 DHCP server and review the DHCP configurations.
- Get a command prompt as elevated privileges and run the following command to back up the DHCP configurations to a file.
Netsh Dhcp Server > export C:\dhcp\dhcpdata.dat all
- Login to the Windows server 2012R2 server and save the exported DHCP configurations file in C: drive.
- Install the DHCP role in 2012R2 server
- After successfully completed the installation, run the DHCP post configurations from the Server manager
- Use a domain admin user account for authorization
- Login to the old 2008R2 DHCP server to Disable and stop the DHCP server service.
- Login to the new 2012R2 DHCP server and import the DHCP configurations, use the following command.
Netsh dhcp server > Import c:\dhcp\dhcpdata.dat all
Review the DHCP configurations and test the DHCP by renewing IP addresses.
This is really simple migration process, and this migration would not have an impact to the live clients.