- This is probably the same issue as IPv6 does not seem to be working on PPPoE interfaces in the 1.4 nightly builds but I think I have more specific, detailed info in this post.
- I also asked about this at Pppoe does not get ipv6 address but I do get ipv6 prefix delegation when I thought it could be more a configuration issue. If it is a config issue and not a bug please tell me the VyOS commands that will work!
I just tested the below minimal configuration on a range of older VyOS ISO images I had, and it appears to have stopped providing an ipv6 address on pppoe sometime between VyOS 1.3-rolling-202006101523 and VyOS 1.3.1.
It does ipv6 prefix delegation fine on every version.
I ran up the same minimal ipv6 config below (with changes due to syntax variation between versions etc) on 1.3-rolling-202006101523, 1.3.1, 1.3.6 and 1.4.2 - and all but 1.3-rolling-202006101523 did not work.
Checking the differences between the generated /run/dhcp6c/dhcp6c.pppoe1.conf I can see that the later versions of this file miss the send ia-na 1; / id-assoc na 1 etc config lines.
When I added the line to the generated /run/dhcp6c/dhcp6c.pppoe1.conf file when running VyOS 1.4.2 and manually killed/ restarted /usr/sbin/dhcp6c it came up with the ipv6 on pppoe1 as expected - I did have to also change the pd number in the config so it was at “id-assoc pd 2” but not sure how relevant this is.
from 1.3-rolling-202006101523
cat /run/dhcp6c/dhcp6c.pppoe1.conf
# generated by dhcp.py
# man https://www.unix.com/man-page/debian/5/dhcp6c.conf/
interface pppoe1 {
request domain-name-servers;
request domain-name;
send ia-na 1; # non-temporary address
send ia-pd 2; # prefix delegation
};
id-assoc na 1 {
# Identity association NA
};
id-assoc pd 2 {
prefix ::/48 infinity;
prefix-interface eth1.102 {
sla-id 0;
sla-len 8;
ifid 1;
};
};
from 1.3.1
cat /run/dhcp6c/dhcp6c.pppoe1.conf
### Autogenerated by interface.py ###
# man https://www.unix.com/man-page/debian/5/dhcp6c.conf/
interface pppoe1 {
send ia-pd 0; # prefix delegation #0
};
id-assoc pd 0 {
prefix ::/48 infinity;
prefix-interface eth1.102 {
sla-len 16;
sla-id 0;
ifid 1;
};
};
config used on 1.3-rolling-202006101523
show configuration commands | strip-private
set interfaces ethernet eth0 description 'WAN SIDE for VLAN2 pppoe'
set interfaces ethernet eth0 hw-id 'XX:XX:XX:XX:XX:0e'
set interfaces ethernet eth1 hw-id 'XX:XX:XX:XX:XX:0f'
set interfaces ethernet eth1 vif 1 address 'xxx.xxx.0.1/24'
set interfaces ethernet eth1 vif 1 description 'VLAN1-mgmt'
set interfaces ethernet eth1 vif 102 address 'xxx.xxx.102.1/24'
set interfaces ethernet eth1 vif 102 description 'VLAN102'
set interfaces ethernet eth1 vif 102 ipv6 address
set interfaces ethernet eth1 vif 102 ipv6 dup-addr-detect-transmits '1'
set interfaces loopback lo
set interfaces pppoe pppoe1 authentication password xxxxxx
set interfaces pppoe pppoe1 authentication user xxxxxx
set interfaces pppoe pppoe1 dhcpv6-options prefix-delegation interface eth1.102 address '1'
set interfaces pppoe pppoe1 dhcpv6-options prefix-delegation interface eth1.102 sla-id '0'
set interfaces pppoe pppoe1 dhcpv6-options prefix-delegation interface eth1.102 sla-len '8'
set interfaces pppoe pppoe1 dhcpv6-options prefix-delegation length '48'
set interfaces pppoe pppoe1 ipv6 address autoconf
set interfaces pppoe pppoe1 ipv6 enable
set interfaces pppoe pppoe1 mtu '1492'
set interfaces pppoe pppoe1 source-interface 'eth0'
set service ssh port '4522'
set system config-management commit-revisions '40'
set system host-name xxxxxx
set system ipv6
set system login user xxxxxx authentication encrypted-password xxxxxx
set system login user xxxxxx authentication plaintext-password xxxxxx
set system login user xxxxxx authentication public-keys [email protected] key xxxxxx
set system login user xxxxxx authentication public-keys [email protected] type ssh-xxx
set system name-server 'xxx.xxx.1.2'
set system name-server 'xxx.xxx.0.2'
set system name-server 'xxxx:xxxx:4700::1112'
set system name-server 'xxxx:xxxx:4700::1002'
set system syslog global facility all level 'notice'
set system syslog global facility local7 level 'debug'
set system syslog host xxx.xxx.102.100 facility all level 'all'
set system time-zone 'Australia/Melbourne'
show interfaces showing ipv6 on pppoe on 1.3-rolling-202006101523
show interfaces | strip-private
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface IP Address S/L Description
--------- ---------- --- -----------
eth0 - u/u WAN SIDE for VLAN2 pppoe
pppoe
eth1 - u/u
eth1.1 xxx.xxx.0.1/24 u/u VLAN1-mgmt
eth1.102 xxx.xxx.102.1/24 u/u VLAN102
xxxx:xxxx:4067::1/56
lo xxx.xxx.0.1/8 u/u
::1/128
pppoe1 xxx.xxx.128.152/32 u/u
xxxx:xxxx:8000:631::aa3:6c52/128