<div dir="ltr">Hi Tomek,<div><br></div><div>I have not tried UDP as I was under the impression this is only used when the DHCP subnet was directly connected. Everything I am doing requires DHCP RELAY. I will need to go back and see if there is a way to specify the loopback to be a UDP socket. The other idea I had was specifying the loopback address on every interface. Seems like a less than elegant solution though.</div><div><br></div><div>Thanks,<br>Jason</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 19, 2017 at 11:00 AM, Tomek Mrugalski <span dir="ltr"><<a href="mailto:tomasz@isc.org" target="_blank">tomasz@isc.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">W dniu 19.04.2017 o 16:35, Jason Guy pisze:<br>
<span class="">> I would like to leverage my routing on the host setup, and bind the kea<br>
> service to the loopback address I have configured. This would ultimately<br>
> allow me to deploy multiple kea servers with an "anycast" reachability.<br>
><br>
> ip addr show lo<br>
> ...<br>
</span>>     inet <a href="http://10.50.5.11/32" rel="noreferrer" target="_blank">10.50.5.11/32</a> <<a href="http://10.50.5.11/32" rel="noreferrer" target="_blank">http://10.50.5.11/32</a>> brd 10.50.5.11 scope<br>
<span class="">> global lo:1<br>
> ...<br>
><br>
> Kea.conf:<br>
> ...<br>
>         "interfaces-config": {<br>
>             "interfaces": [<br>
</span>>                 "lo/<a href="http://10.50.5.11" rel="noreferrer" target="_blank">10.50.5.11</a> <<a href="http://10.50.5.11" rel="noreferrer" target="_blank">http://10.50.5.11</a>>",<br>
<span class="">>                 "eth0",<br>
>                 "eth1"<br>
>             ]<br>
>         },<br>
> ....<br>
><br>
> I have tried specifying this in a few ways, and the DHCP relay packets<br>
> reach the server, but Kea does not appear to process them. I thought<br>
> about putting the loopback on the ethernet interfaces as secondary<br>
> addresses, but wanted to understand why I can see the relay packets<br>
> arrive but not picked up by Kea.<br>
</span>Kea uses raw sockets by default to receive DHCPv4 traffic. Raw sockets<br>
receive raw packets, i.e. everything that comes over wire (ethernet<br>
header, ip, udp and everything that follows). This is different on<br>
loopback as there's no notion of ethernet headers there. Kea has some<br>
support for loopback traffic handling, but it's not used extensively, so<br>
did not receive much testing.<br>
<br>
Have you tried setting dhcp-socket-type to udp? If that doesn't help at<br>
all, can you open a ticket for this?<br>
<br>
Tomek<br>
<br>
______________________________<wbr>_________________<br>
Kea-users mailing list<br>
<a href="mailto:Kea-users@lists.isc.org">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/<wbr>listinfo/kea-users</a><br>
</blockquote></div><br></div>