Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DHCP Migration

Status
Not open for further replies.

keigonc

MIS
Feb 19, 2003
3
US
We currently have an NT4 machine as our DHCP server but I have a new machine with Win 2K Server installed and I would like to make this new machine our DHCP server. I installed the DHCP component, ran the Scope Wizard, stopped the DHCP services on the NT4 machine, and ran the release/renew command in the Command Prompt on a client however the client cannot retrieve an IP from the new DHCP server. Am I missing something?
 
Have you tried stoping and restarting the DHCP server on the Win2k Server it might have not of had the authority to start leasing IP's out to the clients yet because the old NT4 DHCP was still running at the start of the new Win2kServer DHCP.
 
You know... I think I tried everything but restarting the Win 2k machine with the services stopped on the NT4.. thanx
 
Ok I agree with you that you've tried everything, like authorizing the DCHP to lease.
Can you ping PC with static IP address?

Now let's find out how did you configure your DHCP, maybe we can find out some flaw.

1. What's the Scope?
2. Subnet Mask?
3. Router/gateway
4. Reserved IP?
5. Excluded IP?
6. Ipconfig/all on the DHCP server?
 
Here's what I would suggest. Back up the NT box. Upgrade it to W2K server, make it a DC. Make the new W2K machine a DC also. Sync the two. Take the old machine, run dcpromo, make it a stand alone server. Shut it down, and the new DC is ready to go. You can't really mix and match NT and W2K because NT has PDC's and BDC's and W2K has DC's. Good luck.

Glen A. Johnson
Johnson Computer Consulting
"I only know that I know nothing."
Socrates (47-399 BC); Greek philosopher

Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
Perform the steps below on the server that currently hosts the DHCP Server service. Be warned that while doing this no DHCP clients will be able to start TCP/IP so this should be done outside working hours.

Log on as an Administrator and stop DHCP (Start - Settings - Control Panel - Services - Microsoft DHCP server - Stop).
You also need to stop DHCP from starting again after a reboot so start the Services Control Panel applet and select Microsoft DHCP Server and click Startup. From the startup choose disabled and click OK.
Copy the DHCP directory tree %systemroot%\system32\DHCP to a temporary storage area for use later.
Start the registry editor (regedt32.exe)
Move to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCPServer \Configuration
From the Registry menu, click Save Key. Create a name for this key, for example dhcpcfg.bck
Close the registry editor
Optionally if you want to remove DHCP from the source machine totally delete the DHCP directory (%systemroot%\system32\dhcp) and then delete the DHCP Service (Start - Settings - Network - Services - Microsoft DHCP Server - Remove)

On the new DHCP server perform the following

Log on as an Administrator
If the server does not have the DHCP server service installed, install it (Start - Settings - Control Panel - Network - Services - Add - DHCP Server)
Stop the DHCP service (Start - Settings - Control Panel - Services - Microsoft DHCP server - Stop).
Delete the contents of %systemroot%\system32\dhcp
Copy the backed up DHCP directory tree from the storage area to %systemroot%/system32/dhcp, but rename the file system.mdb to system.src. You may not have this file if you are using NT 4.0, skip this step.
Start the registry editor (regedt32.exe)
Move to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCPServer\Configuration and select it
From the registry menu select restore
Located the file dhcpcgf.bck you saved from the original machine and click open
Click Yes to the warning
Close the registry editor
Reboot the machine
==============================
If you have routers separating some of your DHCP clients from the DHCP server you may have problems if they are not RFC compliant. This can be solved by placing a DHCP relay agent on the local network area which is not actually a DHCP server which communicates on behalf of the DHCP Server. The DHCP Relay Agent must be a Windows NT Server computer.

On the NT Server log on as an Administrator
Start the Network control panel applet (Start - Settings - Control Panel - Network)
Click the Services tab and click Add
Select "DHCP Relay Agent" and click OK
Type the path of the files (e.g. d:\i386) and click OK
You will be asked if you wish to add IP address to the DHCP servers list, click Yes
Click the DHCP relay tab and click Add
In the DHCP Server field enter the IP address of the DHCP Server and click Add
Click OK
Restart the computer
==============================
Also, you should know that in W2k
Right click on 'My Network Places' and select Properties
Right click on 'Local Area Connection' and select Properties
Select 'Internet Protocol (TCP/IP)' and click Properties
Select 'Obtain an IP address automatically" (and repeat for DNS) and click OK!


Right now, you occupy a point where three lines reach across the expanse of time and space and intersect only there, and that you and only you possess.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top