[New: openFATE 320819] DHCPv6-PD - wicked
![](https://seccdn.libravatar.org/avatar/0295f9d5d76379b5da73427b67acd395.jpg?s=120&d=mm&r=g)
Feature added by: James Knott (james_knott) Feature #320819, revision 1 Title: DHCPv6-PD - wicked openSUSE Distribution: Unconfirmed Priority Requester: Important Requested by: James Knott (james_knott) Partner organization: openSUSE.org Description: With more & more ISPs providing IPv6 via DHCPv6, DHCPv6-PD support is essential. This is how a router determines the assigned prefix via DHCP. Later versions of dhcpc support DHCPv6-PD, but wicked apparently doesn't. https://tools.ietf.org/html/rfc3633 -- openSUSE Feature: https://features.opensuse.org/320819
![](https://seccdn.libravatar.org/avatar/0295f9d5d76379b5da73427b67acd395.jpg?s=120&d=mm&r=g)
Feature changed by: Andrei Borzenkov (arvidjaar) Feature #320819, revision 3 Title: DHCPv6-PD - wicked openSUSE Distribution: Unconfirmed Priority Requester: Important Requested by: James Knott (james_knott) Partner organization: openSUSE.org Description: With more & more ISPs providing IPv6 via DHCPv6, DHCPv6-PD support is essential. This is how a router determines the assigned prefix via DHCP. Later versions of dhcpc support DHCPv6-PD, but wicked apparently doesn't. https://tools.ietf.org/html/rfc3633 + Discussion: + #1: Andrei Borzenkov (arvidjaar) (2016-05-15 07:53:15) + I'm not convinced it belongs to wicked at all. Wicked is responsible + for configuring local interfaces (on local host) while delegated prefix + is really needed to configure remote interfaces (on other hosts). I.e. + the obvious place to query for delegated prefixes would be DHCP or RA + server responsible for configuring hosts on other networks. IOW even if + wicked would query for and somehow expose this information, it still + cannot do anything useful with it. It would either need some hooks to + modify configuration of external programs or external programs would + need to explicitly ask wicked. + As this needs extra code for every DHCP/RA/... server anyway, + DHCP/RA/... server could just query for delegated prefix directly. -- openSUSE Feature: https://features.opensuse.org/320819
![](https://seccdn.libravatar.org/avatar/0295f9d5d76379b5da73427b67acd395.jpg?s=120&d=mm&r=g)
Feature changed by: Dave Plater (plater) Feature #320819, revision 5 Title: DHCPv6-PD - wicked openSUSE Distribution: Unconfirmed Priority Requester: Important Requested by: James Knott (james_knott) Partner organization: openSUSE.org Description: With more & more ISPs providing IPv6 via DHCPv6, DHCPv6-PD support is essential. This is how a router determines the assigned prefix via DHCP. Later versions of dhcpc support DHCPv6-PD, but wicked apparently doesn't. https://tools.ietf.org/html/rfc3633 Discussion: #1: Andrei Borzenkov (arvidjaar) (2016-05-15 07:53:15) I'm not convinced it belongs to wicked at all. Wicked is responsible for configuring local interfaces (on local host) while delegated prefix is really needed to configure remote interfaces (on other hosts). I.e. the obvious place to query for delegated prefixes would be DHCP or RA server responsible for configuring hosts on other networks. IOW even if wicked would query for and somehow expose this information, it still cannot do anything useful with it. It would either need some hooks to modify configuration of external programs or external programs would need to explicitly ask wicked. As this needs extra code for every DHCP/RA/... server anyway, DHCP/RA/... server could just query for delegated prefix directly. + #2: Dave Plater (plater) (2016-06-07 11:39:17) (reply to #1) + Read wicked's README at https://github.com/openSUSE/wicked AFAICS it's + purpose is to make openSUSE a plug and play distribution for networking + and it has the capability to create the needed hooks. -- openSUSE Feature: https://features.opensuse.org/320819
![](https://seccdn.libravatar.org/avatar/0295f9d5d76379b5da73427b67acd395.jpg?s=120&d=mm&r=g)
Feature changed by: Bryce Larson (blarson) Feature #320819, revision 8 Title: DHCPv6-PD - wicked openSUSE Distribution: Unconfirmed Priority Requester: Important Requested by: James Knott (james_knott) Developer: Pawel Wieczorkiewicz (pwieczorkiewicz) Developer: Pawel Wieczorkiewicz (pwieczorkiewicz) Partner organization: openSUSE.org Description: With more & more ISPs providing IPv6 via DHCPv6, DHCPv6-PD support is essential. This is how a router determines the assigned prefix via DHCP. Later versions of dhcpc support DHCPv6-PD, but wicked apparently doesn't. https://tools.ietf.org/html/rfc3633 Discussion: #1: Andrei Borzenkov (arvidjaar) (2016-05-15 07:53:15) I'm not convinced it belongs to wicked at all. Wicked is responsible for configuring local interfaces (on local host) while delegated prefix is really needed to configure remote interfaces (on other hosts). I.e. the obvious place to query for delegated prefixes would be DHCP or RA server responsible for configuring hosts on other networks. IOW even if wicked would query for and somehow expose this information, it still cannot do anything useful with it. It would either need some hooks to modify configuration of external programs or external programs would need to explicitly ask wicked. As this needs extra code for every DHCP/RA/... server anyway, DHCP/RA/... server could just query for delegated prefix directly. #2: Dave Plater (plater) (2016-06-07 11:39:17) (reply to #1) Read wicked's README at https://github.com/openSUSE/wicked AFAICS it's purpose is to make openSUSE a plug and play distribution for networking and it has the capability to create the needed hooks. + #3: Bryce Larson (blarson) (2017-05-11 18:08:44) + Debian already does this and I think openSUSE should as well. The way + Debian does it, and I believe it to be a decent way of doing it, is + ifupdown tells dhclient to request a prefix. It just adds the '-P' flag + or '-P -N' flags to it. The user then has to make their own script to + do what they want with the prefix and installs it as a dhclient exit + script. I don't imagine it should be too hard to do something similar + in wicked. + Here's a clip of the man page for interfaces on Debian for reference: + request_prefix int + Request a prefix through DHCPv6 Prefix Delegation + (0=off, + 1=on). Default value: "0" + It would also be good to have an example script that the user could + modify, probably in /usr/share/doc/packages/wicked/samples although + that could be optional. There are a few available on github that could + be a starting point: + https://gist.github.com/bryceml/cf0e76f48a4a7d53e7e97b81bc49d471 (https://gist.github.com/bryceml/cf0e76f48a4a7d53e7e97b81bc49d471) + https://github.com/jaymzh/v6-gw-scripts/blob/master/dhclient-ipv6 (https://github.com/jaymzh/v6-gw-scripts/blob/master/dhclient-ipv6) -- openSUSE Feature: https://features.opensuse.org/320819
participants (1)
-
fate_noreply@suse.de