<div dir="ltr"><div>It is something I discovered the hard way myself as well. It makes me wish it was redlined in the online documentation to catch the eye, but once it is set enabled state, it works like a charm. <br></div><div><br></div><div>Marek<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 20, 2024 at 3:31 AM Darren Ankney <<a href="mailto:darren.ankney@gmail.com">darren.ankney@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I'm not sure what version you are running, but in the latest stable<br>
(2.6.1), "reservations-global" defaults to false so Kea would not find<br>
these reservations.  You can either set this flag to true or you can<br>
move the reservations for the IP addresses into their respective<br>
subnets (better solution).<br>
<br>
See: <a href="https://kea.readthedocs.io/en/kea-2.6.1/arm/dhcp4-srv.html#fine-tuning-dhcpv4-host-reservation" rel="noreferrer" target="_blank">https://kea.readthedocs.io/en/kea-2.6.1/arm/dhcp4-srv.html#fine-tuning-dhcpv4-host-reservation</a><br>
<br>
On Thu, Sep 19, 2024 at 5:33 PM fbcadmin via Kea-users<br>
<<a href="mailto:kea-users@lists.isc.org" target="_blank">kea-users@lists.isc.org</a>> wrote:<br>
><br>
> Hello ,<br>
><br>
>   With the following kea-dhcp4.conf ,    I am not able to get the IP<br>
> addresses assigned in the reservations section to get to a device.<br>
> Instead the devices get an address from the pool.<br>
><br>
> If you could please look at our kea-dhcp4.conf and let me know what I've<br>
> done wrong.<br>
><br>
><br>
> thank you<br>
><br>
> Rob Fantini<br>
><br>
><br>
> {<br>
>    "Dhcp4": {<br>
>      "interfaces-config": { "interfaces": [ "eth0" ] } ,<br>
>      "lease-database": { "type": "memfile", "lfc-interval": 3600 },<br>
>      "authoritative": true,<br>
>      "host-reservation-identifiers": [ "hw-address" ],<br>
>      "option-data": [<br>
>        {<br>
>          "space": "dhcp4", "name": "domain-name", "code": 15, "data":<br>
> "<a href="http://testing.com" rel="noreferrer" target="_blank">testing.com</a>" },<br>
>        {<br>
>          "space": "dhcp4", "name": "ntp-servers", "code": 42, "data":<br>
> "10.1.0.2" },<br>
>        {<br>
>          "space": "dhcp4", "name": "domain-name-servers", "code": 6,<br>
> "data": "127.0.0.1, 10.1.3.40, 10.1.3.5" },<br>
>        {<br>
>          "space": "dhcp4", "name": "time-offset", "code": 2, "data": "-5" }<br>
>      ],<br>
>      "subnet4": [<br>
>        {<br>
>          "id": 1,<br>
>          "subnet": "<a href="http://10.199.0.0/16" rel="noreferrer" target="_blank">10.199.0.0/16</a>",<br>
>          "option-data": [<br>
>            {<br>
>              "space": "dhcp4", "name": "routers", "code": 3, "data":<br>
> "10.199.0.1" }<br>
>          ],<br>
>          "valid-lifetime": 3600,<br>
>          "max-valid-lifetime": 3600,<br>
>          "pools": [ { "pool": "10.199.33.11 - 10.199.34.249" } ]<br>
>        }<br>
>      ],<br>
>      "reservations": [<br>
>        { "ip-address": "10.199.32.153", "hw-address": "b8:27:eb:84:85:06" },<br>
>        { "ip-address": "10.199.10.10", "hw-address": "b8:27:eb:9b:c3:3e" }<br>
>          ]<br>
>    }<br>
> }<br>
><br>
> --<br>
> ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
><br>
> To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
><br>
> Kea-users mailing list<br>
> <a href="mailto:Kea-users@lists.isc.org" target="_blank">Kea-users@lists.isc.org</a><br>
> <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
-- <br>
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
<br>
Kea-users mailing list<br>
<a href="mailto:Kea-users@lists.isc.org" target="_blank">Kea-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
</blockquote></div>