[Kea-users] Lease lifetime

Thomas Markwalder tmark at isc.org
Fri Sep 4 12:03:46 UTC 2020


Hello:

You need only set calculate-tee-times to true. The percentage values, 
t1-percent and t2-percent, default to .5 and .875 respectively.



On 9/3/20 7:47 PM, Marcos Renato da Silva Junior wrote:
>
> Hi,
>
>
> 1 - "Beginning with Kea 1.6.0 the lease valid lifetime is extended 
> from a single value to a triplet with minimum, default and maximum 
> values using |min-valid-lifetime|, |valid-lifetime| and 
> |max-valid-lifetime|. When the client does not specify a lifetime the 
> default value is used, when it specifies using a DHCP option code 51 
> this value is used if it is not less than the minimum (in this case 
> the minimum is returned) or greater than the maximum (in this case the 
> maximum is used)."
>
> What is the default value for |min-valid-lifetime| and 
> |max-valid-lifetime| ?
>
> I presume |valid-lifetime| right ?
>
>
> 2 - "According to RFC 2131 <https://tools.ietf.org/html/rfc2131>, 
> servers should send values for T1 and T2 that are 50% and 87.5% of the 
> lease lifetime, respectively. By default, kea-dhcp4 does not send 
> either value. It can be configured to send values that are specified 
> explicitly or that are calculated as percentages of the lease time."
>
> So explicitly :
>
> # DHCPv4 configuration starts on the next line
> "Dhcp4":  {
>
> # First we set up global values
>      "valid-lifetime":  4000,
>      "renew-timer":  1000,
>      "rebind-timer":  2000,
>
> And calculated as percentages :
>
> # DHCPv4 configuration starts on the next line
> "Dhcp4":  {
>
> # First we set up global values
>      "valid-lifetime":  4000,
> |"calculate-tee-times": true, |
> Or :
>
> ||
> # DHCPv4 configuration starts on the next line
> "Dhcp4":  {
>
> # First we set up global values
>      "valid-lifetime":  4000,
> |"calculate-tee-times": true, |     ||"t1-percent": 0.5, "t2-percent": 0.875,||
>
>
> It's the right way?
>
>
> Best,
> ||||||
>
> -- 
> Marcos Renato da Silva Junior
>
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20200904/c8b9481b/attachment.htm>


More information about the Kea-users mailing list