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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing the IP address of the DHCP server

Status
Not open for further replies.

coupleojars

IS-IT--Management
Mar 29, 2001
58
GB
Hello all,

I want to migrate the DHCP service on my network to another box which has a different IP address. I'm now OK with the migration procedure but anxious of the fact that the IP address is changing. Does anyone know of any considerations I should be aware of ?

Thanks people.... Sorry for the repeated posts, I'm doing this tommorrow and don't feel too confident !!!


Jars
 
no consequence whatsoever.

dhcp requests are made by broadcast, a client never has the address of a dhcp server before requesting an IP lease.



Aftertaf

getting quite good at sorting out Windows problems...
An expert when it comes to crashing Linux distributions (mdk, debian - nothing withstands me)
 
Not quite the client will keep the IP address of the server it obtained the address from. It will attempt to renew the least from this server until 87.5% of the lease time is reached when it will drop the lease and attempt to get a new address from any DHCP server it can find.

Paul
 
and of course, do not forget to authorize the new DHCP server with active directory ;)
 
I would stand up the new server, activate it in AD, drop the onl one out, then use VB to force a lease renewal on all clients. This should move everyone to the new server automatically.
 
Hi

I'm not too sure what you mean by using VB? I've got a job in a couple of weeks to replace two DHCP servers and was going to rely on the process that they will try to renew the lease from a server which is no longer there an then get a fresh address from the new servers. I have thought about forcing a release/renew but hand't thought it necessary.

cheers

Paul
 
I recommended the forcing once you get the new server in place. This will allow you to see the clients getting their new addresses rather than waiting for its time to expire. I would do it for nothing less than a troubleshooting measure. BTW, here is the vb script I was talking about:

Code:
On Error Resume Next

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set objNetworkSettings = objWMIService.Get("Win32_NetworkAdapterConfiguration")
objNetworkSettings.RenewDHCPLeaseAll()

-DJ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top