Hi,
I’m migrating from an EdgeRouter 4 to VyOS 1.3 and I have everything working except IPv6 - specifically the default route. My previous working EdgeOS config was
set interfaces ethernet eth0 dhcpv6-pd pd 0 no-dns
set interfaces ethernet eth0 dhcpv6-pd pd 0 prefix-length 56
set interfaces ethernet eth0 dhcpv6-pd rapid-commit disable
set interfaces ethernet eth0 dhcpv6-pd pd 0 interface eth1 host-address '::1'
set interfaces ethernet eth0 dhcpv6-pd pd 0 interface eth1 prefix-id ':1'
set interfaces ethernet eth0 dhcpv6-pd pd 0 interface eth1 service slaac
And with this I get given a default link local route of fe80::ca8d:83ff:feb7:f6b.
My VyOS config is
set interfaces ethernet eth0 address dhcp
set interfaces ethernet eth0 address dhcpv6
set interfaces ethernet eth0 description Internet
set interfaces ethernet eth0 hw-id 64:62:66:21:e4:4f
set interfaces ethernet eth0 dhcpv6-options pd 0 length 56
set interfaces ethernet eth0 dhcpv6-options pd 0 interface eth1 address 1
set interfaces ethernet eth0 dhcpv6-options pd 0 interface eth1 sla-id 1
set interfaces ethernet eth0 ring-buffer rx 4096
set interfaces ethernet eth0 ring-buffer tx 4096
set interfaces ethernet eth0 dhcpv6-options rapid-commit
set interfaces ethernet eth0 ipv6 address autoconf
set interfaces ethernet eth0 ipv6 dup-addr-detect-transmits 1
set system sysctl custom net.ipv6.conf.eth0.forwarding value 1
set system sysctl custom net.ipv6.conf.eth0.accept_ra value 2
and I get a WAN IP and can successfully delegate /64 prefix out to the LAN. The problem is that no default route entry is being added.
ip -6 route show returns
::1 dev lo proto kernel metric 256 pref medium
2a01:....:f61f dev eth0 proto kernel metric 256 pref medium
2a01:....::/64 dev eth1 proto kernel metric 256 pref medium
fe80::/64 dev lo proto kernel metric 256 pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium
fe80::/64 dev eth1 proto kernel metric 256 pref medium
I can see the upstream router with
show ipv6 neighbors | match eth0
fe80::ca8d:83ff:feb7:f6b dev eth0 lladdr c8:8d:83:b7:0f:6b router STALE
and manually setting this as the default route works
set protocols static route6 ::/0 next-hop fe80::ca8d:83ff:feb7:f6b interface eth0
however this link local address could change which would make my config somewhat brittle. Any ideas how to debug this and / or fix?
Thanks,
Frans