[Kea-users] Lease lifetime

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Kea-users] Lease lifetime

Marcos Renato da Silva Junior-2
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, 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
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users