moving DHCP from one server to another

Posted on 2012-08-29
Last Modified: 2012-09-04
I am running DHCP on a win 2k3 server and I want to move my DNS and DHCP over to a new windows server 2k8 R2.  I would like to have a split scope, does anyone recomend any good sites that depict the transition clearly?
Question by:afacts
    LVL 33

    Assisted Solution

    Moving and splitting a scope are two different things.  If you're splitting an existing scope, your best bet is to just come in over a weekend and set up the new scopes.  If you're moving an existing scope, you can do this:

    DNS is easy - just set up the new server; make sure everyone can see the new server/is pointed to it; decommission the old one.

    Author Comment

    here's the problem, I'm having some dhcp server problems, so I didn't want to export the databases, I wanted to create it from scratch, so I don't import the dhcp problem over to my new server.  But perhaps since the data is just a .txt file, the new server might not experience the problem.  I have PCs not able to get IPs from my dhcp server and then I have "bad_address" listed numerous times in my dhcp server.

    Can I perform this transfer during business hours? I'm assuming the PCs that have the lease, should continue to be fine until the lease expires, right?

    so with DNS, I will create two new DNS servers, but how do I replicate the data from the old server to the new server, I'm not sure how to do that, and now sure how to decommission it?

    Also, I'm still planning to use that server for a few more months, as I have other crtical programs running on it.
    LVL 33

    Expert Comment

    Clients with a lease will try to renew that lease periodicallly.  It won't hurt them if DHCP is down, but if a lease actually expires while DHCP is down, that client will lose network access.

    What you can do is set and configure up the DCHP service, but leave the service turned off.  Then, after hours, kill one DHCP server and bring the other online.

    As to DNS, setting up the additional servers is a snap.  If they're all AD integrated, they'll all end up with the same data once they replicate with each other.  Once the two new DNS servers are set, you can kill the service on the old server.

    Accepted Solution

    Changing the DHCP scope subnet mask
    Change the subnet mask in existing DHCP scope
    You can’t change the subnet mask of the DHCP scope directly without deleting the scope, need to delete the DHCP scope first then recreate the scope with new subnet, but this will lead to large amount of manual work
    To avoid the manual work use the below netsh command to Change the subnet mask in existing DHCP scope with the simple steps
    Use the below command to export the scope configuration
    C:\>netsh dhcp server \\”Server name” scope “scope subnet” dump>c:\dhcp.txt
    C:\>netsh dhcp server \\Test01 scope dump>c:\dhcp.txt
    To change the subnet mask of the scope
    Open the dhcp.txt file and change the subnet mask, dhcp.txt file resemble the following

    Changed the current scope context to scope.
    Dhcp Server add scope "Vlan-1" "Vlan-1"
     Dhcp Server Scope set state 1

    Edit the file and save
    After this, delete the scope and run the below command to create the scope from the txt file

    C:\>netsh exec c:\dhcp.txt
    This will automatically create the DHCP scope with the new subnet mask
    This way you can change other configuration details along with subnet mask change, like IP range and Excluderanges

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    If you migrate a Terminal Server licenses server inside the 2008 server family, you can takte advantage of the build-in migration tool. If you like to migrate an older 2003 Server (and the installed client CALs) to a 2008 R2 server for example, you …
    You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
    This tutorial will show how to inventory, catalog, and restore media from legacy versions of Backup Exec into both 2012 and 2014 versions of the software. Select Storage from the tabs along the ribbon bar as the top: Ensure the proper storage devi…
    This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now