Question Locked

Can I force DHCP clients to renew their address before their lease expires?

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am on a Windows Server 2003 domain and the DHCP server had the leases set at the default of 8 days. I want to change the default gateway on all the clients. Can I do anything from the server side that will cause the clients to update and pick up the new info right away?

Thanks in advance.

4 replies

by Member 25348569

It's going to be at least half of the lease time before the clients automatically renew and even if you shorten the lease on the server, the clients won't pick up that until they renew automatically.

The simple way is with ipconfig /renew on the client. Either a login script command or I have used a script that writes a scheduled task (for immediate run) on the remote system for a similar client task.

If you know anything about scripting WMI, you can zap the lease renewal time on any workstation by changing the value of the DHCPLeaseExpires property on the relevant Win32_NetworkAdapterConfiguration. Put that in a login script.

Few things to chew on, there.

Neil :)

by cg it

as neilb said use a script to force a ipconfig/renew.

option 3 router designates routers on the subnet, in your case, your gateway router. see RFC 1497 basic DHCP options.

This discussion is closed to new replies.