[Kea-users] valid-lifetime is short than preferred lifetime
perl-list
perl-list at network1.net
Tue Jan 18 15:56:22 UTC 2022
Veronique,
Preferred lifetime needs to be somewhat lower than valid lifetime:
"valid-lifetime": 86400,
"preferred-lifetime": 79200,
I would not set (at least while you are trying to resolve this):
>> "min-valid-lifetime": 86400,
>> "max-valid-lifetime": 86400,
>> "renew-timer": 32400,
>> "rebind-timer": 48600,
I'm not completely sure that:
>> "min-valid-lifetime": 86400,
>> "max-valid-lifetime": 86400,
have any meaning in kea DHCPv6.
----- Original Message -----
> From: "Veronique Lefebure" <Veronique.Lefebure at cern.ch>
> To: "kea-users" <kea-users at lists.isc.org>
> Sent: Tuesday, January 18, 2022 10:45:01 AM
> Subject: Re: [Kea-users] valid-lifetime is short than preferred lifetime
> The value of 7500 comes from the lease file.
> Now the question is why did the lease file get that value ?
> Can anyone help ?
> Thanks
>> On 18/01/2022 15:58 Veronique Lefebure <veronique.lefebure at cern.ch> wrote:
>> Hi,
>> Our client is refusing an ipv6 lease offered by KEA:
>> [root at cs-lab11-kea ~]# dhclient -6 -v enp7s0f1
>> Internet Systems Consortium DHCP Client 4.2.5
>> Copyright 2004-2013 Internet Systems Consortium.
>> All rights reserved.
>> For info, please visit https://www.isc.org/software/dhcp/
>> Listening on Socket/enp7s0f1
>> Sending on Socket/enp7s0f1
>> PRC: Soliciting for leases (INIT).
>> XMT: Forming Solicit, 0 ms elapsed.
>> XMT: X-- IA_NA 2f:67:df:77
>> XMT: | X-- Request renew in +3600
>> XMT: | X-- Request rebind in +5400
>> XMT: Solicit on enp7s0f1, interval 1040ms.
>> RCV: Advertise message on enp7s0f1 from xxxx::27f0.
>> RCV: X-- IA_NA 2f:67:df:77
>> RCV: | X-- starts 1642517657
>> RCV: | X-- t1 - renew +32400
>> RCV: | X-- t2 - rebind +48600
>> RCV: | X-- [Options]
>> RCV: | | X-- IAADDR 2001:xxxx:1
>> RCV: | | | X-- Preferred lifetime 86400.
>> RCV: | | | X-- Max lifetime 7500.
>> RCV: | | | !-- INVALID lifetimes, IAADDR discarded. Check your server
>> configuration.
>> RCV: X-- Server ID: xxxx:ca:68
>> PRC: Lease failed to satisfy.
>> Any idea why KEA returns 7500 as Max lifetime ?
>> It is not configured like that.
>> We have:
>> "valid-lifetime": 86400,
>> "min-valid-lifetime": 86400,
>> "max-valid-lifetime": 86400,
>> "preferred-lifetime": 86400,
>> "renew-timer": 32400,
>> "rebind-timer": 48600,
>> Thanks
>> _______________________________________________
>> ISC funds the development of this software with paid support subscriptions.
>> Contact us at https://www.isc.org/contact/ for more information.
>> To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
>> Kea-users mailing list
>> Kea-users at lists.isc.org
>> https://lists.isc.org/mailman/listinfo/kea-users
> _______________________________________________
> ISC funds the development of this software with paid support subscriptions.
> Contact us at https://www.isc.org/contact/ for more information.
> To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
> Kea-users mailing list
> Kea-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users
More information about the Kea-users
mailing list