dhcp: systemd: support DHCPv6 prefix delegation

System Internals / NetworkManager - Beniamino Galvani [redhat.com] - 30 September 2019 14:15 UTC

Add support to the internal DHCP client for requesting a prefix and distributing it to interfaces with 'shared' IPv6 mode.

The systemd-networkd API currently allows to request only a single prefix and so there will be issues when the number of downstream interfaces is greater than the number of /64 subnets available in the returned prefix; but this is still an improvement over the previous situation when no prefix was requested at all.


3c4f70c5c dhcp: systemd: support DHCPv6 prefix delegation
src/dhcp/nm-dhcp-client.c | 13 ++++++++++---
src/dhcp/nm-dhcp-client.h | 3 +++
src/dhcp/nm-dhcp-systemd.c | 32 ++++++++++++++++++++++++++------
3 files changed, 39 insertions(+), 9 deletions(-)

Upstream: cgit.freedesktop.org

  • Share