Good morning together,

last week I did a configuration change on a 2.0.0 KEA server and adding more 
subnets for DHCP addressing (as I did before). After adding new subnets after 
the already configured subnets, everything was working fine. Then I added new 
subnets before the already configured subnets in the config file and then the 
DHCP server is ignoring the configured DHCP reservations fort he clients. So 
the DHCP server was giving clients, which have a reservations in the config, a 
new DHCP lease and a new IP address. I tested the configuration on a test 
system and I was not recieving any error when I start the DHCP server, so there 
was no configuration error and same result on the live system. The DHCP service 
itself and the DHCP addressing is also working fine. Only the reservations were 
not work anymore. I did some tests and I can reproduce that error on the test 
system.

So my question are now, ist tehre a command for reordering the subnet 
configuration or for re-reading/rebuilding the subnet configuration on the DHCP 
server? Or does anyone have the same error?

The system is a Ubuntu 20 with KEA 2.0.0 in an HA setup. The configuration is 
config file and the leases are saved on a MySQL database.

########### New added subnet with problems
{
                "subnet": "10.8.1.0/24",
                "comment": "NEWNET",
                "pools": [ { "pool": "10.8.1.20 - 10.8.1.239" } ],
                "option-data": [
                               {
                               "name": "routers",
                               "data": "10.8.1.1"
                               }
                ]
},

########### Already configured subnet
{
                "subnet": "10.8.12.0/24",
                "comment": "FAKENET",
                "pools": [ { "pool": "10.8.12.20 - 10.8.12.239" } ],
                "reservations": [
                               {
                                               "hw-address": "12:34:56:78:90",
                                               "ip-address": "10.8.12.36",
                                               "hostname": "FAKENAME"
                               }
                ],
                "option-data": [
                               {
                               "name": "routers",
                               "data": "10.8.12.1"
                               }
                ]
},

########### New added subnet without problems
{
                "subnet": "10.8.1.0/24",
                "comment": "NEWNET",
                "pools": [ { "pool": "10.8.1.20 - 10.8.1.239" } ],
                "option-data": [
                               {
                               "name": "routers",
                               "data": "10.8.1.1"
                               }
                ]
},

Regards

Mark


-- 
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
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to