Migrate to odhcp6c for dhpcv6 client support #1350
Merged
+535
−147
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
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: