Page MenuHomeVyOS Platform

Use Kea DHCP(v6) instead of ISC DHCP(v6)
In progress, HighPublicFEATURE REQUEST

Description

Let's consider using ISC Kea instead of ISC DHCP

Perhaps we can get more complete support through migration

This is just a draft, if we can really improve the situation by replacing ISC, I don't see any reason why we shouldn't consider moving

There seems to be no officially packaged Kea on the existing Debian package system, which probably means that if we want to migrate to Kea, we'll need to maintain a package ourselves

https://packages.debian.org/sid/kea

This is a packaged code repository for isc-kea found upstream, but only 1.7.5-1, not the latest version, and may serve as a reference

https://salsa.debian.org/debian/isc-kea

Details

Difficulty level
Normal (likely a few hours)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

jack9603301 renamed this task from Use Kea DHCP instead of ISC DHCP to Use Kea DHCP(v6) instead of ISC DHCP(v6).Feb 16 2021, 8:56 AM
jack9603301 created this task.
jack9603301 changed the subtype of this task from "Bug" to "Feature Request".
jack9603301 triaged this task as Wishlist priority.Feb 17 2021, 11:32 AM

DHCPd shold be vonsistent for both v4 and v6 - running different daemons is simply bad.

@dmbaturin @zsdc Perhaps we could discuss the possibility of changing the dhcp(v6) server to a better server (and what feature changes might exist), which I hope will address the older ISC's better support for interfaces such as PPPOE and the latest dhcp(v6) standard

Viacheslav changed Difficulty level from Unknown (require assessment) to Normal (likely a few hours).Feb 22 2021, 10:34 AM

ISC will be decommissioning dhcpd at some point and continuing to work on Kea:

ISC has developed a new DHCP server, Kea, which we intend to eventually replace ISC DHCP in most server implementations. We recommend that new implementers use Kea and implement ISC DHCP only if Kea does not meet their needs. The Kea distribution does not currently include either a client or a relay.

A transition plan, however long it takes, is a good idea.

I believe the ISC DHCP is now officially deprecated and EOLed:

https://www.isc.org/blogs/isc-dhcp-eol/

I saw in the first comment, it mentioned there's no official Debian packages for Kea (at the time I assume).

However, I just checked and there do seem to be Kea packages - currently at version 2.2.0:

https://packages.debian.org/sid/kea
https://packages.debian.org/bookworm/kea

Version 2.2.0 was released in July 2022 (https://www.isc.org/blogs/kea-2-2-0/) - so the Debian packages appear fairly up to date.

Does that help things at all?

syncer raised the priority of this task from Wishlist to High.Oct 16 2022, 10:20 PM
syncer added a subscriber: syncer.

Basically,
all commercial hooks need to be implemented

njh added a subscriber: njh.

Add another feature that is improved if we're thinking of moving to KEA :

https://vyos.dev/T5044

sdev changed the task status from Open to In progress.Thu, Mar 2, 1:41 PM
sdev claimed this task.
sdev moved this task from Need Triage to In Progress on the VyOS 1.4 Sagitta board.

Have started work on migrating isc-dhcp v4/v6 server to Kea.

Migration might cause a fair amount of breakage. Notable issues so far:

  • global-parameters, shared-network-parameters and subnet-parameters nodes will be deleted on migration (likely to be the biggest issue)
  • ping-check no longer available

I was interested in why ping-check is no longer available.
There is a good article about it here:
https://kb.isc.org/docs/why-doesnt-kea-support-ping-check

@sdev just for clarification do you mean "deleted" as in only existing entries but new ones will work or completely deleted?
Im asking because I do use keas global, subnet, pool and class option-data support extensively outside of vyos.
If this would stay/become a part of vyos that would be great!