[Kea-users] different lease times

Jason Keltz jas at yorku.ca
Mon Apr 1 19:05:38 UTC 2024


Hi..

At the top of my KEA configuration file, I specify "valid-lifetime" for 
leases.  Most of my hosts have a static IP which is allocated via Kea.   
Those leases can be quite lengthy. On the other hand, each subnet has a 
dynamic pool as well.  How can I define a much lower lease time for the 
hosts that are being allocated dynamic IP?

Would this be an option in "reservations"?  Can I avoid duplicating for 
every host?

reservations": [
     {
         "hw-address": "ab:cd:ef:gh:ij:kl",
         "hostname": "myhost",
         "option-data": [
             {
                 "name": "log-servers",
                 "data": "w.x.y.z"
             },
             {
                 "name": "domain-name-servers",
                 "data": "a.b.c.d,e.f.g.h"
             },
             {
                 "name": "domain-name",
                 "data": "mydomain.com"
             }
         ]
     },
...

]

Jason.



More information about the Kea-users mailing list