1
24.1 Legacy Series / Re: KEA DHCP
« on: February 22, 2024, 04:45:02 pm »Here's the situation you have even if you are able to start both servicesCode: [Select]root@opnsense:~ # sockstat -4l -p 67
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
dhcpd dhcpd 61078 13 udp4 *:67 *:*
root kea-dhcp4 964 14 udp4 192.168.22.1:67 *:*
root kea-dhcp4 964 16 udp4 192.168.42.1:67 *:*
root kea-dhcp4 964 18 udp4 192.168.62.1:67 *:*
root kea-dhcp4 964 20 udp4 192.168.63.1:67 *:*
As you can see, this will not work. ISC always bind to *:67 whatever you do. They cannot co-exists.
It seems to me this is still an unresolved issue. I have disabled ISC on all but one interface and migrated the rest to Kea. For this to work, I found I had to stop ISC entirely, restart Kea, then restart ISC. Otherwise, the Kea log reports "Address already in use - is another DHCP server running?" errors. If I then have to reboot opnsense (e.g. after firmware updates), it seems ISC will start before Kea and I will not have DHCP servers active on any of the interfaces except the one that I still have on ISC (Kea will report "address already in use" for the other interfaces).
Is the intent for now to support running ISC on some interfaces and Kea on others or are uses expected to migrate all interfaces to Kea?