IPv6 default route with PPPoE

vyos-1-2
ipv6

#1

Hi,

I have been testing IPv6 with PPPoE. Good news is that I got it working (which wasn’t possible with 1.1.8) but I did have some trouble with establishing an IPv6 default route.

This is my configuration:

set interfaces ethernet eth1 description 'WAN'
set interfaces ethernet eth1 address '192.168.1.2/24'
set interfaces ethernet eth1 pppoe 0 default-route force
set interfaces ethernet eth1 pppoe 0 mtu 1492
set interfaces ethernet eth1 pppoe 0 user-id <username>
set interfaces ethernet eth1 pppoe 0 password <password>
set interfaces ethernet eth1 pppoe 0 enable-ipv6

The default-route force directive successfully added a default route for IPv4 but not for IPv6.

I managed to work around this by setting the ppp0 interface as the default route:

set protocols static interface-route6 ::/0 next-hop-interface ppp0

At that point packets routing over the PPPoE connection.

Couple of things:

  1. Should default-route force apply to IPv6, as well as IPv4?
  2. The naming of the PPPoE interface as ppp0 was slightly unexpected - is that a bug?

Thanks,

nick.


#2

On VyOS 1.2.0 the interface ppp0 is automatically renamed to pppoe0 when the dialer interface is up and running. Can you please retest with a recent version as 1.1.8 is EOL.


#3

I am using the current branch not 1.1.8 - my comment was that PPPoE + IPv6 doesn’t work at all with 1.1.8 - there is no support in the kernel or pppd.

My interface isn’t being renamed to pppoe0, which might be the problem.