Requesting a lease time in dhclient6.conf

Mike. the.lists at
Fri Feb 14 15:37:14 UTC 2014

On 2/13/2014 at 5:15 PM Joseph Bernard wrote:

|I just gave myself a crash corse in DHCP options, so some of this
may be
|wrong.  dhcp-lease-time corresponds to option 51 for DHCPv4 as
defined in
|the common/tables.c file of the ISC DHCP source code.  The DHCPv4
|defines option 51 as "Address Time".  For DHCPv6, the options aren't
|same.  As far as I can tell, there is no DHCPv6 equivalent option
|"Address Time".  This might change in the future.  Here are the
links I
|used to figure this out:

Thanks for the follow-up.  I came to a similar conclusion.

I was able to implement a work-around that solves my immediate
problem.   I assign a fixed-address6 to the box based upon its MAC
address (hardware ethernet).   In that config block of dhcpd6.conf, I
added a value for default-lease-time.    That overrides the
default-lease-time specifically globally at the top of the config

While it is not specified in the dhclient6.conf, as I would have
preferred, it is specific to just that one client.

More information about the dhcp-users mailing list