Page MenuHomeVyOS Platform

Allow PPPoE interface to be assigned IPv6 address via DHCPv6
Open, NormalPublicFEATURE REQUEST

Description

My ISP provides a /128 IPv6 address for the CPE over DHCPv6 as an option 3 non-temporary address.

Whilst dhcpv6 is an option on ethernet interfaces:

set interfaces ethernet eth0 address dhcpv6

It's not currently possible to specify this for PPPoE interfaces

I'd like to propose adding this option for PPPoE interfaces:

set interfaces pppoe pppoe0 address dhcpv6

The ethernet config pulls in interface-definitions/include/interface/address-ipv4-ipv6-dhcp.xml.i but for a PPPoE interface I believe only the DHCPv6 option is going to be relevant. Therefore, would a new include that just defines dhcpv6 as an option be the way forward here?

I've built a test image with updated interface definitions, and can successfully have the /128 address assigned to the PPPoE interface via DHCPv6 but not sure of the best way to structure the change for a PR.

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Event Timeline

Did you try it?

set interfaces pppoe pppoe1 ipv6

I had the below set on the pppoe interface to allow for DHCPv6-PD. That part was working fine it was just the pppoe interface that wasn't picking up an address:

set interfaces pppoe pppoe0 ipv6 address autoconf
Viacheslav triaged this task as Normal priority.Jan 20 2024, 2:09 AM