[Kea-users] mixing raw and udp sockets

Jaco Kroon jaco at uls.co.za
Wed Jun 18 13:26:18 UTC 2025


Hi All,

ISC dhcpd always refused to bind non-ethernet sockets.  Which was fine, 
but resulted in some issues.

I'm now in a situation where I've got a setup where I've got a couple of 
local interfaces (ethernet), which needs to bind raw, and then a tun0 
interface which is not ethernet, and based on testing have to use udp 
sockets else kea-dhcp4 will not receive the incoming (relayed) DHCP frames.

Is there any way to mix and match socket types within a single kea-dhcp4 
instance?

"interfaces": [ "tun0/172.17.0.0", "eth0", "eth1" ]

Is the current setup, and eth* works when "dhcp-socket-type":"raw", and 
"tun0/..." when "dhcp-socket-type":"udp".

Suggestions and ideas?

Kind regards,
Jaco




More information about the Kea-users mailing list