Vasumathi Sundaram wrote:
Darren Reed wrote:
With repsect to IPv4 DHCP, the document proposes 2 commands:
create-dhcp and delete-dhcp. What about renew-dhcp?
ifconfig man page says that "dhcp extend" is not required because the dhcpagent will automatically renew the lease before it expires.

So why do you suppose Microsoft included /release and /renew for the command line of ipconfig? FWIW, they also do automatic renewal.

Doing a manual renew isn't always about "extending" the lease of an address, it can also be a way to...
* get a new address because the DHCP server has been reconfigured
* get a new DNS server because the DHCP server has been reconfigured
* get a new default router because the DHCP server has been reconfigured
* force an extension of the DHCP interval because I know the DHCP server will be unavailable when it tried to do an automatic renewal
...you get the idea.

As well as taking care of change, being able to renew allows me to verify that a change to the DHCP server has worked properly - doing a "delete" and then "create" is likely to be a lot more dramatic and have larger consequences than a renew that works.

Darren

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to