[Kea-users] multiple MACs to same IP

Matt Zagrabelny mzagrabe at d.umn.edu
Tue Oct 10 00:41:17 UTC 2023


Greetings,

I'm migrating from ISC DHCPD to Kea.

I have a laptop on my network that I want to get the same IP address if it
is connected via wifi or if it is plugged in to hard-wired ethernet. This
was possible in ISC DHCPD.

In Kea I have database entries:

# select * from hosts_human where hostname  ~ 'zirconium';
    hostname    │    mac_address    │  ip_address
════════════════╪═══════════════════╪═══════════════
 zirconium-wlo1 │ bc:17:b8:cb:8b:94 │ 192.168.0.226

 zirconium-eno1 │ 0c:37:96:1f:04:ef │ 192.168.0.226
(2 rows)

..but I get errors from the server:

Oct 09 19:21:07 zed kea-dhcp4[5515]: INFO  DHCP4_LEASE_ADVERT [hwtype=1
bc:17:b8:cb:8b:94], cid=[01:bc:17:b8:cb:8b:94], tid=0x2c7fc3e4: lease
192.168.0.226 will be advertised
Oct 09 19:21:07 zed kea-dhcp4[5515]: ERROR ALLOC_ENGINE_V4_ALLOC_ERROR
[hwtype=1 bc:17:b8:cb:8b:94], cid=[01:bc:17:b8:cb:8b:94], tid=0x2c7fc3e4:
error during attempt to allocate an IPv4 address: multiple records were
found in the database where only one was expected for query
get_host_subid_addr

Am I missing something to allow this particular configuration?

Or is it not possible in Kea (to do what was possible in ISC DHCPD)?

Thanks for any help!

-m
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20231009/e6ce12b9/attachment.htm>


More information about the Kea-users mailing list