Hi, On that topic, I see that [Kea-users] ip-reservations-unique and lease conflict (isc.org)<https://lists.isc.org/pipermail/kea-users/2022-October/003548.html> did not get an answer. Has anyone else encountered the same issue as Marc ?
Thanks, Veronique ________________________________ From: Kea-users <kea-users-boun...@lists.isc.org> on behalf of Peter Davies <pet...@isc.org> Sent: Tuesday, October 10, 2023 6:47 AM To: kea-users@lists.isc.org <kea-users@lists.isc.org> Subject: Re: [Kea-users] multiple MACs to same IP Hi -m, You can use the "ip-reservations-unique": false, See: https://kea.readthedocs.io/en/kea-2.4.0/arm/dhcp4-srv.html#multiple-reservations-for-the-same-ip /Peter On 10/10/2023 02.41, Matt Zagrabelny via Kea-users wrote: > 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 > -- Peter Davies Support Engineer Internet Systems Corporation -- 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@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users
-- 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@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users