[Kea-users] DHCP6 host reservation

Cristina Bulfon cristina.bulfon at roma1.infn.it
Fri Mar 29 17:49:47 UTC 2024


Dear all,

I am newbie to the Kea DHCP6, I’d like to use only host reservations and for my understanding in the clause “subnet6” in addition to “reservations” must be configured also the “pools”  but the reservations should have priority in providing IPv6.
Followis a piece of configuration :
...

"host-reservation-identifiers": ["hw-address"],
   "subnet6": [
     {
          "id": 1,
          "subnet": "2001:760:422c:35::/64" ,
          "reservations-in-subnet": true,
          "reservations-out-of-pool": false,
          "reservations-global": false,
          "interface": "ens3",
          "reservations" : [ <?include "/etc/kea/vlan135-ipv6.conf"?> ],
          "pools": [{ "pool": "2001:760:422c:35::2 -2001:760:422c:35:ffff:ffff:ffff:ffff" } ]
   }

The include file has the following syntax

{"hostname": “XXXXX”,”hw-address": “XX:YY:ZZ:AA:00:0o”,”ip-addresses": ["2001:760:422c:35::XYZ”] }

….

With this configuration the ipv6 client get the IP from the pool and not from reservations, how  can I  avoid this? 

Any help is appreciated, thank you.

Regards,
Cristina 

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


More information about the Kea-users mailing list