<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p></p>
<div style="caret-color: rgb(0, 0, 0); font-family: -webkit-standard; text-size-adjust: auto;">
Hi together,</div>
<div style="caret-color: rgb(0, 0, 0); font-family: -webkit-standard; text-size-adjust: auto;">
<br>
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: -webkit-standard; text-size-adjust: auto;">
did anyone get this working?<span class="Apple-converted-space"> </span></div>
<div style="caret-color: rgb(0, 0, 0); font-family: -webkit-standard; text-size-adjust: auto;">
I'm trying exactly the same and get the same error.</div>
<div style="caret-color: rgb(0, 0, 0); font-family: -webkit-standard; text-size-adjust: auto;">
<br>
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: -webkit-standard; text-size-adjust: auto;">
Best regards,</div>
<div style="caret-color: rgb(0, 0, 0); font-family: -webkit-standard; text-size-adjust: auto;">
<br>
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: -webkit-standard; text-size-adjust: auto;">
Thomas</div>
<br>
<p></p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, Helvetica, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<div>
<p style="margin:0cm; font-size:11pt; font-family:"Calibri",sans-serif"><span lang="EN-US" style=""></span></p>
</div>
<br>
<p></p>
</div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr style="display:inline-block; width:98%" tabindex="-1">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Kea-users <kea-users-bounces@lists.isc.org> im Auftrag von Luiz Amaral <email@luiz.eng.br><br>
<b>Gesendet:</b> Mittwoch, 23. Juni 2021 11:27<br>
<b>An:</b> kea-users@lists.isc.org<br>
<b>Betreff:</b> [Kea-users] DHCPv6 replies using the wrong source address</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hello people,<br>
<br>
I'm running Kea DHCP6 1.9.8 on Debian Buster and ran into an issue when<br>
running it behind a load balancer.<br>
<br>
In the host running Kea, I have two different IPv6 addresses:<br>
2a00:xxxx::3, assigned to eth0 and 2a00:xxxx::1:3, assigned to the<br>
loopback interface.<br>
<br>
My DHCPv6 relay (2a00:xxxx:3::63) forwards requests to the<br>
2a00:xxxx::1:3 address, via the load balancer. <br>
<br>
When I have "eth0/2a00:xxxx::3" and "lo/2a00:xxxx::1:3" in the<br>
interfaces-config section of my Kea configuration, Kea is answering the<br>
requests, but with the IP address of eth0, instead of the IP address of<br>
lo, which was the destination of the request.<br>
22:21:27.051056 IP6 2a00:xxxx:3::63.546 > 2a00:xxxx::1:3.547: dhcp6<br>
relay-fwd<br>
22:21:27.051550 IP6 2a00:xxxx::3.547 > 2a00:xxxx:3::63.547: dhcp6<br>
relay-reply<br>
22:21:35.133247 IP6 2a00:xxxx:3::63.546 > 2a00:xxxx::1:3.547: dhcp6<br>
relay-fwd<br>
22:21:35.133832 IP6 2a00:xxxx::3.547 > 2a00:xxxx:3::63.547: dhcp6<br>
relay-reply<br>
<br>
I have also tried removing the eth0 entry from the interfaces-config<br>
option, but that made things even worse, as now I get an error in the logs:<br>
Jun 22 23:10:49 hostname kea-dhcp6[15658]: ERROR DHCP6_PACKET_SEND_FAIL<br>
failed to send DHCPv6 packet: Interface eth0/2 does not have any<br>
suitable IPv6 sockets open.<br>
Jun 22 23:10:51 hostname kea-dhcp6[15658]: ERROR DHCP6_PACKET_SEND_FAIL<br>
failed to send DHCPv6 packet: Interface eth0/2 does not have any<br>
suitable IPv6 sockets open.<br>
<br>
Does Kea have an option to define the source address for outgoing<br>
packets or is there a way to achieve what I am trying to do?<br>
<br>
Thank you,<br>
Luiz.<br>
<br>
<br>
<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>
</div>
</body>
</html>