Open a ticket
Chat with us
BLOG Published on 2016/03/08 by Asitha De Silva in Tech-Tips

DHCP server migration from server 2008R2 to server 2012R2

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.



  1. Login to the 2008R2 DHCP server and review the DHCP configurations. 


  2. 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


  3. Login to the Windows server 2012R2 server and save the exported DHCP configurations file in C: drive.
     
  4. Install the DHCP role in 2012R2 server 






  5. After successfully completed the installation, run the DHCP post configurations from the Server manager


  6. Use a domain admin user account for authorization 




  7. Login to the old 2008R2 DHCP server to Disable and stop the DHCP server service. 


  8. 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





  9. 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.

Thanks.


Don't forget to follow us on our social networks to keep track of all the latest blog posts!

  




Asitha De Silva

Consultant Cloud Solutions

Expert in architecting and implementing cloud-based infrastructure solutions.

Newsletter

To keep up with the news and updates related to our products, make sure to subscribe to our newsletter!

Copyright © 2024 Terminalworks. All Rights Reserved