nsupdate from a dhclient

Simon Hobson dhcp1 at thehobsons.co.uk
Tue Sep 26 20:23:54 UTC 2006

Ralph Blach wrote:

>Also, in the dhclient.conf file, is there a way to specify the maximum lease
>time which will be allowed.
>So if a dhcp server supplied the cleint with a leas time of 8 days, then a a
>lease time of 1 day would be used?

You can probably set (IIRC) option lease-time in the client config to 
set what it asks for.

However, just to correct your thinking, the client has very little 
say in how long the lease is. It can REQUEST any length it likes, but 
it MUST either accept and work to the lease time offered by the 
server OR not accept the lease. What it absolutely cannot do is work 
to any different lease length.

The only exception would be that a client is obviously free to just 
stop using an address it's leased - but unless it explicitly sends a 
DHCPRELEASE message to the server then the server cannot give that 
address out to another client until it expires according to the 
servers clock.

To summarise: the client can request a specific lease length, the 
server will decide what lease length is actually offered.

More information about the dhcp-users mailing list