[Kea-users] Lease lifetime

Marcos Renato da Silva Junior marcos.silva at unesp.br
Thu Sep 3 14:40:22 UTC 2020


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

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


More information about the Kea-users mailing list