Hi:
These values can be used to set limits on lifetimes requested by
clients. This allows you to make sure client's do no request values
that are too small or too large for your requirements. If you do not
set them, they default to valid-lifetime which effectively ignores
requested client lifetimes.
On 9/4/20 8:49 AM, Marcos Renato da Silva Junior wrote:
Thanks Thomas,
But I still a bit confused about default to min-valid-lifetime and
max-valid-lifetime.
Em 04/09/2020 09:03, Thomas Markwalder escreveu:
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 athttps://www.isc.org/contact/ for more information.
To unsubscribe visithttps://lists.isc.org/mailman/listinfo/kea-users.
Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users
_______________________________________________
ISC funds the development of this software with paid support subscriptions.
Contact us athttps://www.isc.org/contact/ for more information.
To unsubscribe visithttps://lists.isc.org/mailman/listinfo/kea-users.
Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users
--
Marcos Renato da Silva Junior
Universidade Estadual Paulista - Unesp
Faculdade de Engenharia de Ilha Solteira - FEIS
Departamento de Engenharia Elétrica - DEE
15385-000 - Ilha Solteira/SP
(18) 3743-1164
_______________________________________________
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
[email protected]
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
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users