Skip to content

Services: Kea DHCP: Kea DHCPv6 - add new option based on v4 #8571

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 22, 2025

Conversation

AdSchellevis
Copy link
Member

This contains roughly the same configuration items as our current isc-dhcp6 alternative, with the exception of not trying to implement dynamic ranges based on data received from dhclient6. In terms of target audience, dynamic environments (receiving their "wan" type addressess via dhcp), should logically use dnsmasq for client configuration. Large (enterprise) setups usually are static by nature and may require prefix deligation to routers behind the primary one. In these cases Kea will be the tool of choice.

Both v4 and v6 share the same rc scripts underneath, which means reconfiguration happens per package (eventhough two services are registered). Existing hooks for v4 have been extended with v6 data (firewall rules and staticmaps).

Advanced configurations can still opt out of config file generation and supply their own json config, same as implemented for v4.

The lease view still needs to be implemented, but that's likely a minor addition.

This contains roughly the same configuration items as our current isc-dhcp6 alternative, with the exception of not trying to implement dynamic ranges based on data received from dhclient6.
In terms of target audience, dynamic environments (receiving their "wan" type addressess via dhcp), should logically use dnsmasq for client configuration. Large (enterprise) setups usually are static by nature and may require prefix deligation to routers behind the primary one. In these cases Kea will be the tool of choice.

Both v4 and v6 share the same rc scripts underneath, which means reconfiguration happens per package (eventhough two services are registered).
Existing hooks for v4 have been extended with v6 data (firewall rules and staticmaps).

Advanced configurations can still opt out of config file generation and supply their own json config, same as implemented for v4.

The lease view still needs to be implemented, but that's likely a minor addition.
@AdSchellevis AdSchellevis added the feature Adding new functionality label Apr 21, 2025
@AdSchellevis AdSchellevis self-assigned this Apr 21, 2025
Copy link
Member

@fichtner fichtner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@AdSchellevis AdSchellevis merged commit 9c50cbf into master Apr 22, 2025
@AdSchellevis AdSchellevis deleted the kea-v6 branch April 23, 2025 14:31
AdSchellevis added a commit that referenced this pull request May 1, 2025
…add required interface to subnet.

Although a bit unexpected, based on the documentation https://kea.readthedocs.io/en/stable/arm/dhcp6-srv.html#introduction, apparently clients won't receive an address when not strictly connected to the subnet.

ref: https://lists.isc.org/pipermail/kea-users/2018-January/001581.html
AdSchellevis added a commit that referenced this pull request May 1, 2025
…add required interface to subnet.

Although a bit unexpected, based on the documentation https://kea.readthedocs.io/en/stable/arm/dhcp6-srv.html#introduction, apparently clients won't receive an address when not strictly connected to the subnet.

ref: https://lists.isc.org/pipermail/kea-users/2018-January/001581.html
AdSchellevis added a commit that referenced this pull request May 4, 2025
AdSchellevis added a commit that referenced this pull request May 4, 2025
…idate control agent instead of separate services (#8571)

As the kea rc script controls the agent and enabled services, we can't split them easily without refactoring the rc scripts as well.
The second best option seems to be to pin service control to the agent as that part is always active when a service is used.
fichtner pushed a commit that referenced this pull request May 6, 2025
(cherry picked from commit 9c50cbf)
(cherry picked from commit 4d47320)
(cherry picked from commit d0c9ace)
(cherry picked from commit e81497a)
(cherry picked from commit 8cebd86)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adding new functionality
Development

Successfully merging this pull request may close these issues.

2 participants