[Kea-users] reservations issue
Darren Ankney
darren.ankney at gmail.com
Fri Sep 20 09:31:19 UTC 2024
Hi,
I'm not sure what version you are running, but in the latest stable
(2.6.1), "reservations-global" defaults to false so Kea would not find
these reservations. You can either set this flag to true or you can
move the reservations for the IP addresses into their respective
subnets (better solution).
See: https://kea.readthedocs.io/en/kea-2.6.1/arm/dhcp4-srv.html#fine-tuning-dhcpv4-host-reservation
On Thu, Sep 19, 2024 at 5:33 PM fbcadmin via Kea-users
<kea-users at lists.isc.org> wrote:
>
> Hello ,
>
> With the following kea-dhcp4.conf , I am not able to get the IP
> addresses assigned in the reservations section to get to a device.
> Instead the devices get an address from the pool.
>
> If you could please look at our kea-dhcp4.conf and let me know what I've
> done wrong.
>
>
> thank you
>
> Rob Fantini
>
>
> {
> "Dhcp4": {
> "interfaces-config": { "interfaces": [ "eth0" ] } ,
> "lease-database": { "type": "memfile", "lfc-interval": 3600 },
> "authoritative": true,
> "host-reservation-identifiers": [ "hw-address" ],
> "option-data": [
> {
> "space": "dhcp4", "name": "domain-name", "code": 15, "data":
> "testing.com" },
> {
> "space": "dhcp4", "name": "ntp-servers", "code": 42, "data":
> "10.1.0.2" },
> {
> "space": "dhcp4", "name": "domain-name-servers", "code": 6,
> "data": "127.0.0.1, 10.1.3.40, 10.1.3.5" },
> {
> "space": "dhcp4", "name": "time-offset", "code": 2, "data": "-5" }
> ],
> "subnet4": [
> {
> "id": 1,
> "subnet": "10.199.0.0/16",
> "option-data": [
> {
> "space": "dhcp4", "name": "routers", "code": 3, "data":
> "10.199.0.1" }
> ],
> "valid-lifetime": 3600,
> "max-valid-lifetime": 3600,
> "pools": [ { "pool": "10.199.33.11 - 10.199.34.249" } ]
> }
> ],
> "reservations": [
> { "ip-address": "10.199.32.153", "hw-address": "b8:27:eb:84:85:06" },
> { "ip-address": "10.199.10.10", "hw-address": "b8:27:eb:9b:c3:3e" }
> ]
> }
> }
>
> --
> 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
> Kea-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users
More information about the Kea-users
mailing list