25.1.8_1 Kea DHCPv4 and DHCPv6 still issues

Started by trdeal, June 18, 2025, 10:30:32 AM

Previous topic - Next topic
Hi,
Upgraded to 25.1.8_1 and tried replacing ISC DHCPv4 and DHCPv6 with Kea DHCPv4 and DHCPv6.
When Kea DHCPv4 is configured with a RAW socket type, then I can see the DHCP interactions for both IPv4 and IPv6 on one VLAN but not the other, when I configure Kea DHCPv4 with a UDP socket then I can see DHCPv6 interactions but no DHCPv4 entries and my client does not obtain an IPv4 address. While my client can appear to renew its IPv6 address, the IPv4 address renewal fails.
My client on another VLAN there is no interaction recorded in the logs for IPv6 or IPv4 with the socket configured as RAW or UDP..
When I stop and start the Kea DHCPv4 service the logs report that it is the DHCPv6 service that has been restarted, should it report that DHCPv4 service has restarted?

I also have some strange behavior, very similar to the one described by you.
I've got 2 different VLANs, tagged on the same physical interface.
When the socket type is set to "RAW" the DHCPv4 distributes IPv4 addresses only on one VLAN. I've also configured both subnets, but sometimes it takes the IP address from the wrong one.
Since the used ISP is IPv4 only, I've enabled only the v4 version, and i can confirm it does not work when the sock type is set to "UDP".

I'm using Kea for both ipv6 and ipv4 and not seeing this. I am using raw socket on ipv4 side. I don't see the setting for that on the IPv6 side

Have you tried rebooting after toggling udp/raw? I found out it sometimes didn't reload the associated firewall rules automatically after a change.
In theory there is no difference between theory and practice. In practice there is.

Quote from: dinguz on Today at 06:05:21 AMHave you tried rebooting after toggling udp/raw? I found out it sometimes didn't reload the associated firewall rules automatically after a change.

I've tried, but nothing happend.

Quote from: IsaacFL on Today at 04:23:18 AMI'm using Kea for both ipv6 and ipv4 and not seeing this. I am using raw socket on ipv4 side. I don't see the setting for that on the IPv6 side

Are you using VLANs on the same physical interface?