mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-06 07:33:01 +02:00
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>
=== DHCPv6 Prefix Delegation
ifdef::topdoc[:imagesdir: {topdoc}../../test/case/dhcp/client6_prefix_delegation]
==== Description
Verify DHCPv6 prefix delegation (IA_PD) where a client requests an IPv6
prefix from a DHCPv6 server. This is commonly used on WAN interfaces of
routers to obtain a prefix for distribution to downstream networks.
==== Topology
image::topology.svg[DHCPv6 Prefix Delegation topology, align=center, scaledwidth=75%]
==== Sequence
. Set up topology and attach to target DUT
. Configure DHCPv6 client w/ prefix delegation
. Verify DHCPv6 client is running
. Verify prefix delegation in logs