setting preferred and valid lifetimes, T1 and T2, using

Mudric, Dusan (Dusan) dmudric at avaya.com
Thu Jun 18 14:21:12 UTC 2015


Hi Glenn,

Thanks for the suggestion. I did check 'man dhcp-options'. There are various 'dhcp6' options but none for T1, T2, preferred and valid lifetimes. It might be that these options are not implemented, even though the RFC 3315 standard recommends them. Please let me know if these options are supported by ISC DHCPv6 client.

Regards,
Dusan.

>----------------------------------------------------------------------
>
>Message: 1
>Date: Thu, 18 Jun 2015 11:07:06 +1000
>From: "Glenn Satchell" <glenn.satchell at uniq.com.au>
>To: "Users of ISC DHCP" <dhcp-users at lists.isc.org>
>Subject: Re: setting preferred and valid lifetimes, T1 and T2, using
>	dhclient.conf
>Message-ID:
>	<121e947f00d605c30fed6c685a9020a8.squirrel at mail.uniq.com.au>
>Content-Type: text/plain;charset=iso-8859-1
>
>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 
>> https://urldefense.proofpoint.com/v2/url?u=http->3A__linux.die.net_man_5_dhclient.conf&d=AwICAg&c=BFpWQw8bsuKpl1SgiZH64Q&r=UT3Bk9cbLeaJxhf3iCrhIoUWB8YLZU230>29sMQGQ2kY&m=UEXVi4En8p9fVMby_sdHiz5ZsD7OtoofqcErH0cmKXc&s=B1TIH3g2X->wTtusG7F5zZpcMUgPpD7280ZoP5mOd1vg&e=  options can be used to change these values when the server sets T1=T2=0?
>>
>> Thanks,
>> Dusan Mudric.





More information about the dhcp-users mailing list