[Kea-users] dhcp4 server on IP unnumbered interfaces

Avoy Nanda avoynanda at gmail.com
Fri Dec 13 19:46:50 UTC 2019


Hi,

I am seeing an issue running kea-dhcp4 on multiple interfaces configured as
ip unnumbered.

Here is my interface configuration. rt1_0_1 and rt1_0_2 are both sharing
the same IP address on a loop[back interface.

rt1_0_1   Link encap:Ethernet  HWaddr 50:9a:4c:e9:c0:73
          inet addr:192.168.200.2  Bcast:192.168.200.2  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

rt1_0_2   Link encap:Ethernet  HWaddr 50:9a:4c:e9:c0:73
          inet addr:192.168.200.2  Bcast:192.168.200.2  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

When I run kea-dhcp4 on rt1_0_1 and rt1_0_2, it complains while opening
socket for rt1_0_2 as 192.168.200.2:67 is already used for rt1_0_1.

If I configure to run kea-dhcp4 only on loopback interface then it does not
listen on rt1_0_1 and rt1_0_2 and the dhcp requests are dropped.

Is there a way to make kea-dhcp4 work in this use case?

Thanks,
Avoy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20191213/cca26380/attachment.htm>


More information about the Kea-users mailing list