network: DHCPv6 Assign delegated prefix to LAN interface

System Internals / systemd - Susant Sahani [vmware.com] - 29 May 2020 07:20 UTC

In DHCPv6-PD environment, where WAN interface requests IPv6 via DHCPv6, receives the address as well as delegated prefixes, with LAN interfaces serving those delegated prefixes in their router advertisement messages. The LAN interfaces on the router themselves do not have the IPv6 addresses assigned by networkd from the prefix it serves on that interface. Now this patch enables it.

9efa8a3cff network: DHCPv6 Assign delegated prefix to LAN interface
man/systemd.network.xml | 14 ++++++-
src/network/networkd-dhcp6.c | 50 ++++++++++++++++++++++++
src/network/networkd-link.c | 2 +-
src/network/networkd-link.h | 1 +
src/network/networkd-network-gperf.gperf | 1 +
src/network/networkd-network.c | 2 +
src/network/networkd-network.h | 1 +
test/fuzz/fuzz-network-parser/directives.network | 1 +
8 files changed, 70 insertions(+), 2 deletions(-)

Upstream: github.com


  • Share