[Kea-users] reservations issue
fbcadmin
fbcadmin at fantinibakery.com
Thu Sep 19 21:33:25 UTC 2024
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" }
]
}
}
More information about the Kea-users
mailing list