dhclient action on end leasetime

José Queiroz zekkerj at gmail.com
Fri Jun 3 00:36:10 UTC 2011


2011/6/1 Michel Boaventura <michel.boaventura at gmail.com>

> hello,
>
> everytime the leasetime of my ip expires, dhclient deconfigures my
> interface, query from a new ip (which will be always the same, due to dhcp
> server configuration)  and reconfigure it.
>
> the problem is that this makes my ssh connection to freeze while the
> proccess goes. on a small lease time, it becames annoying.  wouldn't be
> smart if it only deconfigures my interface if the ips are different?
>
> i've tried with dhcpcd and it seems do work that way.
>
> regards,
>
> michel
>
>
Hello Michel, just for better understanding: what is the max lease time of
your server?

Because, as Simon Hobson said, the client should renew the lease at 1/2
time, so an active client should never let it's lease to expire.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20110602/8b48192b/attachment.html>


More information about the dhcp-users mailing list