[Kea-users] DHCPv4 not working with WDS clients

Guido 嵬 到 guido.out at aversano.org
Wed Nov 8 12:54:28 UTC 2017


Dears,

I already posted about this problem a while ago, but still could not find a
solution.
I am using Kea version 1.1.0 on a Debian system.

I have a secondary LAN connected to the main LAN by a Wi-Fi bridge with WDS
(managed by hostapd).
The Kea DHCP server is on the main LAN, like the following:


Client A
      |
<secondary LAN> ---- Wi-Fi (WDS) brigde ---- <main LAN> -- DHCP server


My problem is that clients on the secondary LAN (e.g. Client A) do not get
any address from the Kea DHCP server.

Note that Kea DHCP works fine for clients directly connected to <main LAN>
or regular WiFi clients.

Also, if I configure Client A with a static IP, or if I use DNSMASQ instead
of Kea as DHCP server, everything works fine on the secondary LAN as well.


Kea log files show a sequence of advertised leases for remote lan clients,
but lease is never allocated:

  2017-10-20 12:08:41.911 INFO  [kea-dhcp4.leases/7610] DHCP4_LEASE_ADVERT
[hwtype=1 aa:bb:cc:dd:ee:ff], cid=[no info], tid=0x95d72610: lease
192.168.200.11 will be advertised
  2017-10-20 12:08:56.909 INFO  [kea-dhcp4.leases/7610] DHCP4_LEASE_ADVERT
[hwtype=1 aa:bb:cc:dd:ee:ff], cid=[no info], tid=0x7f86aa3f: lease
192.168.200.12 will be advertised
  2017-10-20 12:08:59.910 INFO  [kea-dhcp4.leases/7610] DHCP4_LEASE_ADVERT
[hwtype=1 aa:bb:cc:dd:ee:ff], cid=[no info], tid=0x4db63062: lease
192.168.200.13 will be advertised
...
...
  2017-10-20 12:09:04.910 INFO  [kea-dhcp4.leases/7610] DHCP4_LEASE_ADVERT
[hwtype=1 aa:bb:cc:dd:ee:ff], cid=[no info], tid=0x3e6ad87b: lease
192.168.200.70 will be advertised

where aa:bb:cc:dd:ee:ff is the mac address of a client on the remote LAN
(fake address, as I removed the real one from the log)


Do you have any idea of what the problem could be?

Thank you very much from your help!

Kind regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20171108/3eafe209/attachment.htm>


More information about the Kea-users mailing list