Question

Locked

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

By barth.travis ·
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.

This conversation is currently closed to new comments.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

I don't think it's possible

by neilb@uk In reply to Can I force DHCP clients ...

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 :)

Collapse -

option 3 router and

by CG IT In reply to I don't think it's possib ...

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.

Collapse -

.

by maximos2111 In reply to Can I force DHCP clients ...
Back to Networks Forum
4 total posts (Page 1 of 1)  

Hardware Forums