Page MenuHomeVyOS Platform

PPPoE: IPv6 not working after system boot
Closed, ResolvedPublicBUG

Description

When IPv6 and IPv6 DHCP-PD is configured, the setting is not taken into account on a system reboot.

A workarund would be to change the interface description once to re-trigger the config generaion as root.

root cause is that the helper script /etc/ppp/ip-up.d/99-vyos-pppoe-callback is executed with ppp user right that does
not have the required permissions to create the dhcpc6 config file under /run.

Reproduce:

VyOS 1 (PPPoE-Server)

set service pppoe-server access-concentrator 'ACN'
set service pppoe-server authentication local-users username vyos password 'vyos'
set service pppoe-server authentication mode 'local'
set service pppoe-server client-ip-pool start '10.1.1.100'
set service pppoe-server client-ip-pool stop '10.1.1.111'
set service pppoe-server client-ipv6-pool delegate 2001:db8:8003::/48 delegation-prefix '56'
set service pppoe-server client-ipv6-pool prefix 2001:db8:8002::/48 mask '64'
set service pppoe-server gateway-address '10.1.1.2'
set service pppoe-server interface eth0
set service pppoe-server name-server '10.100.100.1'
set service pppoe-server name-server '10.100.200.1'
set service pppoe-server name-server '2001:db8:4860::8888'
set service pppoe-server ppp-options ipv6 'allow'

VyOS 2 (PPPoE-Client)

set interfaces pppoe pppoe0 authentication password 'vyos'
set interfaces pppoe pppoe0 authentication user 'vyos'
set interfaces pppoe pppoe0 dhcpv6-options pd 0 interface eth2 address '1'
set interfaces pppoe pppoe0 dhcpv6-options pd 0 length '56'
set interfaces pppoe pppoe0 ipv6 address autoconf
set interfaces pppoe pppoe0 no-peer-dns
set interfaces pppoe pppoe0 source-interface 'eth0'

Details

Difficulty level
Normal (likely a few hours)
Version
1.4-rolling-202204201428
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

c-po changed the task status from Open to In progress.Apr 24 2022, 9:18 AM
c-po claimed this task.
c-po triaged this task as High priority.
c-po created this task.