Solved

migrating dhcp from 2003 to  2008

Posted on 2008-10-22
4
1,074 Views
Last Modified: 2012-05-05
I am trrying to migrate a dhcp database from server 2003 to 2008
using the cammands

netsh dhcp server export C:\dhcp.txt all
and
netsh dhcp server import c:\dhcpdatabase.txt all

scope comes across however address leases has a red cross and the reservations are empty

any ideas ?
0
Comment
Question by:titn003
  • 2
4 Comments
 
LVL 51

Expert Comment

by:Netman66
ID: 22782905
0
 

Author Comment

by:titn003
ID: 22784871
already tried that

Interestingly i can see the the resevations, leases etc on the console of the windows 2003 server but not the server 2008 server

Colud the issue be that i am going from a 32 bit os to a 64 bit version of Windows

0
 
LVL 51

Expert Comment

by:Netman66
ID: 22787240
You never mentioned that...

Very likely, yes.

I can't imagine you could restore a 32 bit DB into a 64-bit DHCP service correctly and still be able to see it via the 64-bit console.

Do a search on the 64-bit machine for dhcpmgmt.msc and see if you get more than one hit.  There should be a 32-bit WOW version locally.  If it works from that console then your issue is certainly one of 32-64bit migration.

You may have to recreate it on the 64-bit box.

0
 
LVL 31

Accepted Solution

by:
Henrik Johansson earned 500 total points
ID: 22817454
Propably similar to when upgrading to 2003, you nead to dump the configuration to a script with
  C:\>netsh dhcp server dump > dhcp-script.netsh
and execute the script with
  C:\>netsh exec dhcp-script.netsh

You'll not get the leases this way, but you get the configuration including reservations.

http://support.microsoft.com/kb/325473
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

856 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