Feature #13296
openAdd support for DHCP6 OPTION_PD_EXCLUDE (RFC 6603)
0%
Description
Some ISPs are rolling out IPv6 and not directly providing a globally routable WAN address via DHCPv6. Instead, they are including a prefix delegation option that is used to exclude a prefix ID from being used internally, and using an address from that prefix ID for the WAN connection. This is documented in RFC 6603.
While there are ways to manually accomplish something similar using existing settings, such methods also require manual updating in the event that the prefix changes. As a result, external services relying on the WAN address (like VPN access) would be unavailable until such manual updating is done. Implementing this RFC would hopefully automate this process, eliminating some manual steps from being necessary in the event that the IPv6 prefix changes.
Obviously the prefix ID that is being excluded should also not be selectable for an internal network, and if someone has already configured a prefix ID that should be excluded (i.e. if the option changes in the future, or someone changes ISPs and the new ISP is excluding a network already configured), there should be some kind of notification of the conflict.
Files
Updated by → luckman212 over 2 years ago
I'm still hazy on exactly which dhcp6c implementation is currently shipping. I thought it was the hrs-allbsd/wide-dhcpv6, but the last commit there was ~2017. I found this in the src/dhcp6.c
from DragonflyBSD ~2021, but I'm sure that would need some porting. Nothing indicates that the needed OPTION_PD_EXCLUDE
(67) is supported in the version that we currently have (I hope I am wrong!)
It's mentioned in the 12.3 docs (search for "RFC 6603") but I just can't find it in the source code anywhere... guess I am looking in the wrong place.
Updated by Marcos M over 2 years ago
It's http://wide-dhcpv6.sourceforge.net/
See:
https://github.com/pfsense/FreeBSD-ports/tree/devel/net/dhcp6
https://www.freshports.org/net/dhcp6
This should be a request for the upstream port:
https://bugs.freebsd.org/bugzilla/buglist.cgi?product=Ports%20%26%20Packages&component=Individual%20Port%28s%29&resolution=---
Updated by → luckman212 over 2 years ago
Marcos M was that last link you posted supposed to show something related? for me it just appears to be a list of every single bug filed against the ports tree... ?
Updated by Marcos M over 2 years ago
It's where the bug entries are for FreeBSD ports are, and where a feature request can be submitted.