<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hi,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
On that topic, I see that <a href="https://lists.isc.org/pipermail/kea-users/2022-October/003548.html" id="LPlnkOWA063937e6-92f2-feba-7571-8b3590563a52" class="OWAAutoLink ContentPasted0">[Kea-users] ip-reservations-unique and lease conflict (isc.org)</a> did
 not get an answer.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Has anyone else encountered the same issue as Marc ?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thanks,
<div>Veronique</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Kea-users <kea-users-bounces@lists.isc.org> on behalf of Peter Davies <peterd@isc.org><br>
<b>Sent:</b> Tuesday, October 10, 2023 6:47 AM<br>
<b>To:</b> kea-users@lists.isc.org <kea-users@lists.isc.org><br>
<b>Subject:</b> Re: [Kea-users] multiple MACs to same IP</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi -m,<br>
    You can use the "ip-reservations-unique": false,<br>
See:<br>
<a href="https://kea.readthedocs.io/en/kea-2.4.0/arm/dhcp4-srv.html#multiple-reservations-for-the-same-ip">https://kea.readthedocs.io/en/kea-2.4.0/arm/dhcp4-srv.html#multiple-reservations-for-the-same-ip</a><br>
<br>
/Peter<br>
<br>
On 10/10/2023 02.41, Matt Zagrabelny via Kea-users wrote:<br>
> Greetings,<br>
><br>
> I'm migrating from ISC DHCPD to Kea.<br>
><br>
> I have a laptop on my network that I want to get the same IP address <br>
> if it is connected via wifi or if it is plugged in to hard-wired <br>
> ethernet. This was possible in ISC DHCPD.<br>
><br>
> In Kea I have database entries:<br>
><br>
> # select * from hosts_human where hostname  ~ 'zirconium';<br>
>     hostname        mac_address      ip_address<br>
> <br>
>  zirconium-wlo1  bc:17:b8:cb:8b:94  192.168.0.226<br>
>  zirconium-eno1  0c:37:96:1f:04:ef  192.168.0.226<br>
> (2 rows)<br>
><br>
> ..but I get errors from the server:<br>
><br>
> Oct 09 19:21:07 zed kea-dhcp4[5515]: INFO  DHCP4_LEASE_ADVERT <br>
> [hwtype=1 bc:17:b8:cb:8b:94], cid=[01:bc:17:b8:cb:8b:94], <br>
> tid=0x2c7fc3e4: lease 192.168.0.226 will be advertised<br>
> Oct 09 19:21:07 zed kea-dhcp4[5515]: ERROR ALLOC_ENGINE_V4_ALLOC_ERROR <br>
> [hwtype=1 bc:17:b8:cb:8b:94], cid=[01:bc:17:b8:cb:8b:94], <br>
> tid=0x2c7fc3e4: error during attempt to allocate an IPv4 address: <br>
> multiple records were found in the database where only one was <br>
> expected for query get_host_subid_addr<br>
><br>
> Am I missing something to allow this particular configuration?<br>
><br>
> Or is it not possible in Kea (to do what was possible in ISC DHCPD)?<br>
><br>
> Thanks for any help!<br>
><br>
> -m<br>
><br>
-- <br>
Peter Davies<br>
Support Engineer<br>
Internet Systems Corporation<br>
<br>
-- <br>
ISC funds the development of this software with paid support subscriptions. Contact us at
<a href="https://www.isc.org/contact/">https://www.isc.org/contact/</a> for more information.<br>
<br>
To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
<br>
Kea-users mailing list<br>
Kea-users@lists.isc.org<br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
</div>
</span></font></div>
</body>
</html>