setting preferred and valid lifetimes, T1 and T2, using dhclient.conf
Glenn Satchell
glenn.satchell at uniq.com.au
Thu Jun 18 01:07:06 UTC 2015
Hi Dusan
That web page might be quite an old version of dhclient.conf. I'd suggest
looking at the one installed on your client using 'man dhclient.conf' to
make sure it includes the latest settings that match your client.
The command you're probably looking for is 'send'. I'm not sure of the
exact option required, but it will be in the dhcp-options man page and
search for dhcp6.
In dhclient.conf add something like
send option dhcp6.<whatever> <value>
send { [ option declaration ]
[, ... option declaration ]}
The send statement causes the client to send the specified options to
the server with the specified values. These are full option
declarations as described in dhcp-options(5). Options that are
always sent in the DHCP protocol should not be specified here, except
that the client can specify a requested dhcp-lease-time option other
than the default requested lease time, which is two hours. The other
obvious use for this statement is to send information to the server
that will allow it to differentiate between this client and other
clients or kinds of clients.
regards,
-glenn
On Thu, June 18, 2015 6:15 am, Mudric, Dusan (Dusan) wrote:
> Hi DHCPv6 experts,
>
> I need help finding out how to set dhcpd6 client's IA_NA address preferred
> and valid lifetimes, and IA_NA T1 and T2, using dhclient.conf
> configuration file.
>
> rfc3315#section-22.4
> " If the time at which the addresses in an IA_NA are to be renewed is to
> be left to the discretion of the client, the server sets T1 and T2 to 0."
>
> The Internet Systems Consortium DHCP Client uses hard coded default
> values:
> - T1=3600,
> - T2=5400,
> - Preferred lifetime=7200, and
> - Valid lifetime=7500.
>
> Which http://linux.die.net/man/5/dhclient.conf options can be used to
> change these values when the server sets T1=T2=0?
>
> Thanks,
> Dusan Mudric.
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
More information about the dhcp-users
mailing list