<div dir="ltr"><div class="gmail_default" style="font-size:small">I have recently learned that it is normal and expected that the DUID may contain the MAC address of a different network device. For example, an Apple laptop ( that has only wifi ) will generate its DUID the first time it boots and use that DUID for everything. Wifi, usb-ethernet dongle, etc.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Windows has its own way of generating a DUID. And on Linux, most distro's will use a DUID but you can change a config file to have it use a link local address instead.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">While this info does not directly solve your problems, hopefully it helps you understand how things are working.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The short answer is that you might need to rethink the way you use DHCP (v6) on your network. I know I have been struggling with some of the differences making it difficult or impossible to do things the way we had in the past. For example, we can no longer assume a usb to ethernet adapter will have a specific IPv6 address assigned to it, the address might change depending on what host it is connected to :(</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thanks,</div><div class="gmail_default" style="font-size:small"> Dan Oachs</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 18, 2022 at 1:15 PM Marek Greško via Kea-users <<a href="mailto:kea-users@lists.isc.org">kea-users@lists.isc.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-family:Arial;font-size:14px;color:rgb(0,0,0)">Hello,</div><div style="font-family:Arial;font-size:14px;color:rgb(0,0,0)"><br></div><div style="font-family:Arial;font-size:14px;color:rgb(0,0,0)">I am in a phase of migration ISC DHCPD into kea and I am suffering several problems in ipv6 address assignment.</div><div style="font-family:Arial;font-size:14px;color:rgb(0,0,0)"><br></div><div style="font-family:Arial;font-size:14px;color:rgb(0,0,0)"><ol><li><span>I used to assign same ipv6 address for the same machine which was dial boot linux/windows. It was possible by assigning same ipv6 address to both DUIDs before. But in kea this is not allowed. I found out there is a possibility to assign ipv6 address by MAC address which was not possible in ISC DHCPD. I was very happy with that finding but fallen into second problem.</span></li><li><span>The windows machine got 2 interfaces ethernet and wifi. I configured kea to assign one ipv6 address to the ethernet adapter and another one to the wifi adapter. But after investigating logs kea was receiving dhcp6 request over wifi using the ethernet adapter mac address. How is this possible? Is it possible the MAC address in DHCP does not match L2 MAC address? I did not sniff the request, yet. I decided to switch back to DUID assignment since this problem is worse than the previous.</span></li><li><span>Maybe it would be possible to overcome the above problems if kea is able to match both DUID and MAC address, but it is not allowed in kea. I am ought to select one option only. Why?</span></li></ol><div><br></div><div>Thanks</div><div><br></div><div>Marek</div><div><br></div><div><br></div><div>Thanks</div><div><br></div><div>Marek</div><div><br></div></div><div style="font-family:Arial;font-size:14px;color:rgb(0,0,0)"><br></div>-- <br>
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
<br>
Kea-users mailing list<br>
<a href="mailto:Kea-users@lists.isc.org" target="_blank">Kea-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
</blockquote></div>