OPNsense Forum

English Forums => 24.1 Legacy Series => Topic started by: daygle on February 01, 2024, 01:28:57 pm

Title: Kea DHCP IPv6?
Post by: daygle on February 01, 2024, 01:28:57 pm
With the implementation of Kea DHCP for IPv4 I was wondering if there was plans to implement Kea DHCP IPv6?
Title: Re: Kea DHCP IPv6?
Post by: franco on February 01, 2024, 05:20:22 pm
Yes, maybe 24.7 if all goes well. We will discuss roadmap stuff in two weeks.


Cheers,
Franco
Title: Re: Kea DHCP IPv6?
Post by: daygle on February 01, 2024, 10:45:44 pm
Yes, maybe 24.7 if all goes well. We will discuss roadmap stuff in two weeks.


Cheers,
Franco

Excellent, look forward to it. Thanks Franco :)
Title: Re: Kea DHCP IPv6?
Post by: frazzetta127 on February 18, 2024, 06:13:38 pm
Yes, maybe 24.7 if all goes well. We will discuss roadmap stuff in two weeks.


Cheers,
Franco

Anywhere that I can read more about this in the meantime? Will ISC still be supported in 24.7? I'd rather wait to migrate until there is full IPv6 support.
Title: Re: Kea DHCP IPv6?
Post by: trdeal on February 22, 2024, 11:17:58 am
I have been running a pair of ISC Kea DHCPv4 and DHCPv6 servers on linux for over two years since ISC stopped maintaining ISC DHCP at the end of 2022. Personally very happy to switch because of the ISC Kea ability to handle DHCP Failover for DHCPv6 which was not supported in ISC DHCP.
Title: Re: Kea DHCP IPv6?
Post by: space_cadet on March 08, 2024, 07:55:06 pm
Yes, maybe 24.7 if all goes well. We will discuss roadmap stuff in two weeks.


Cheers,
Franco


I switched over to Kea DHCPv4 and it works great. I haven't run into any issues using Kea DHCPv4 and ISC DHCPv6 together, but it would be nice to have the latest and greatest running both versions. Hopefully we will see Kea DHCPv6 in 24.7. I didn't see anything in the current roadmap for 24.7, so I'm a little worried that we wont see it until 25.1
Title: Re: Kea DHCP IPv6?
Post by: ArnoldJR on September 24, 2024, 01:33:50 pm
Is there any update on this?
When can we expect too have KEA DHCP functionality for IPv6?
Title: Re: Kea DHCP IPv6?
Post by: franco on September 24, 2024, 02:29:18 pm
Basically... later. There is no roadmap and no immediate need.


Cheers,
Franco
Title: Re: Kea DHCP IPv6?
Post by: Perun on September 25, 2024, 06:40:02 pm
+1
Title: Re: Kea DHCP IPv6?
Post by: franco on September 25, 2024, 09:34:11 pm
To make matters better using unforeseen directions we're likely going to add DHCP to Dnsmasq instead. To do this we will first move Dnsmasq to a MVC/API implementation for 25.1.

https://github.com/opnsense/core/issues/7905

I'm sorry to say that in this case the plan changed, in part due to Kea not delivering on its promise as much as it delivered on making DHCPD EoL a long time ago already.


Cheers,
Franco
Title: Re: Kea DHCP IPv6?
Post by: Pocket_Sevens on September 26, 2024, 07:56:50 pm
To make matters better using unforeseen directions we're likely going to add DHCP to Dnsmasq instead. To do this we will first move Dnsmasq to a MVC/API implementation for 25.1.

https://github.com/opnsense/core/issues/7905

I'm sorry to say that in this case the plan changed, in part due to Kea not delivering on its promise as much as it delivered on making DHCPD EoL a long time ago already.


Cheers,
Franco

Does that mean KEA DHCP will be deprecated in a future release of OPNSense?  Or just for IPv6?  Or not at all? I may be reading this wrong and wanted to make sure.
Title: Re: Kea DHCP IPv6?
Post by: franco on September 26, 2024, 08:46:48 pm
No. The idea is:

* DNSmasq DHCP becomes the default DHCP
* ISC DHCP moves to plugins
* Kea DHCP will gain DHCPv6 eventually

The mere fact that Kea is the only maintained effort for HA features will make it stick to the core, but honestly we do not like to see it become the default.


Cheers,
Franco
Title: Re: Kea DHCP IPv6?
Post by: ArnoldJR on September 27, 2024, 12:32:24 pm
Thank you for the update
Title: Re: Kea DHCP IPv6?
Post by: Perun on October 13, 2024, 08:59:34 am
* Kea DHCP will gain DHCPv6 eventually

that would be nice because of the HA features ;)

The mere fact that Kea is the only maintained effort for HA features will make it stick to the core, but honestly we do not like to see it become the default.

can you explain the reason?

Title: Re: Kea DHCP IPv6?
Post by: franco on October 16, 2024, 02:23:48 pm
Kea doesn't appear to have a high adoption curve and the development doesn't seem to be in a rush to accommodate that either.

But truth be told our current basic gripe with Kea is that for emulating advanced features that work fine in ISC DHCP you find sparse or incomplete documentation and ending up reading the Kea source code is a good waste of valuable coding time.


Cheers,
Franco
Title: Re: Kea DHCP IPv6?
Post by: daygle on November 07, 2024, 05:40:53 am
No. The idea is:

* DNSmasq DHCP becomes the default DHCP
* ISC DHCP moves to plugins
* Kea DHCP will gain DHCPv6 eventually

The mere fact that Kea is the only maintained effort for HA features will make it stick to the core, but honestly we do not like to see it become the default.


Cheers,
Franco

Am I correct in assuming that DNSmasq only supports IPv4? I am currently using a mix of KEA for IPv4 and ISC DHCPv6.

I guess what I am trying to understand is what will the default for DHCPv6 be? KEA or DNSmasq?
Title: Re: Kea DHCP IPv6?
Post by: franco on November 08, 2024, 08:01:13 am
https://kasiviswanathanblog.wordpress.com/2017/06/04/dnsmasq-a-simple-dhcpv6-server-for-embedded-devices/

FWIW, Dnsmasq rework moves further into 2025 territory. Just too much other priorities at the moment.


Cheers,
Franco
Title: Re: Kea DHCP IPv6?
Post by: daygle on November 08, 2024, 02:37:08 pm
https://kasiviswanathanblog.wordpress.com/2017/06/04/dnsmasq-a-simple-dhcpv6-server-for-embedded-devices/

FWIW, Dnsmasq rework moves further into 2025 territory. Just too much other priorities at the moment.


Cheers,
Franco

Thanks @franco.

So given the findings would you suggest reverting back to ISC DHCPv4 and ISC DHCPv6 until further changes are made in 2025?
Title: Re: Kea DHCP IPv6?
Post by: franco on November 08, 2024, 03:03:06 pm
Yes, sure.


Cheers,
Franco