Skip to content

Conversation

@troglobit
Copy link
Contributor

Description

Replace BusyBox udhcpc6 with OpenWrt's odhcp6c for improved DHCPv6 functionality and better integration with Router Advertisements (RA).

The primary motivation is support for a common ISP deployment scenario where IPv6 addresses are assigned via SLAAC (from Router Advertisements) and DHCPv6 is used in stateless/information-only mode to provide DNS servers and other configuration options. This hybrid RA+DHCPv6 setup is standard practice for many ISPs but was not supported by udhcpc6, which treats RA and DHCPv6 as separate, non-integrated mechanisms.

Additional benefits of odhcp6c:

  • Better IPv6 Prefix Delegation (IA-PD) support with proper handling of delegated prefix lifetimes and renewal
  • Native integration of RA-provided configuration (DNS servers, routes, addresses) with DHCPv6-provided options
  • Support for stateless DHCPv6 via information-only mode

To verify stateless DHCPv6 integration with SLAAC addresses - the ISP scenario that motivated this migration, a new test case has been added.

Checklist

Tick relevant boxes, this PR is-a or has-a:

  • Bugfix
    • Regression tests
    • ChangeLog updates (for next release)
  • Feature
    • YANG model change => revision updated?
    • Regression tests added?
    • ChangeLog updates (for next release)
    • Documentation added?
  • Test changes
    • Checked in changed Readme.adoc (make test-spec)
    • Added new test to group Readme.adoc and yaml file
  • Code style update (formatting, renaming)
  • Refactoring (please detail in commit messages)
  • Build related changes
  • Documentation content changes
    • ChangeLog updated (for major changes)
  • Other (please describe):

@troglobit troglobit force-pushed the change-dhcpv6-client branch 2 times, most recently from 24ef978 to 27baa18 Compare January 10, 2026 09:46
Replace BusyBox udhcpc6 with OpenWrt's odhcp6c for improved DHCPv6
functionality and better integration with Router Advertisements (RA).

The primary motivation is support for a common ISP deployment scenario
where IPv6 addresses are assigned via SLAAC (from Router Advertisements)
and DHCPv6 is used in stateless/information-only mode to provide DNS
servers and other configuration options. This hybrid RA+DHCPv6 setup is
standard practice for many ISPs but was not supported by udhcpc6, which
treats RA and DHCPv6 as separate, non-integrated mechanisms.

Additional benefits of odhcp6c:

- Better IPv6 Prefix Delegation (IA-PD) support with proper handling
  of delegated prefix lifetimes and renewal
- Native integration of RA-provided configuration (DNS servers, routes,
  addresses) with DHCPv6-provided options
- Support for stateless DHCPv6 via information-only mode

To verify stateless DHCPv6 integration with SLAAC addresses - the ISP
scenario that motivated this migration, a new test case has been added.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
@troglobit troglobit force-pushed the change-dhcpv6-client branch from 27baa18 to fa6023c Compare January 10, 2026 12:16
@troglobit troglobit requested a review from mattiaswal January 10, 2026 13:15
@troglobit troglobit merged commit 26ecf48 into main Jan 11, 2026
7 checks passed
@troglobit troglobit deleted the change-dhcpv6-client branch January 11, 2026 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants