OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: cpw on August 26, 2021, 03:54:08 pm

Title: IPv6 over PPPoE (in a multiwan setup)
Post by: cpw on August 26, 2021, 03:54:08 pm
So, this is confusing me. I'm not sure if it's a real issue, or something else. I'm trying to get my PPPoE connection's IPv6 working. I already have my "cable" IPv6 working. It's working fine as far as I can tell.

But the PPPoE seems to not be routing. I get an IPv6 address and delegation range (sometimes my ISP is a bit slow on responding the DHCP6 requests).

Compare the routing entries for CABLE vs DSL (PPPoE):

Code: [Select]
ipv6 default fe80::217:10ff:fe93:fd18%igb2 UG 991972 1500 igb2 CABLE
ipv6 ::1 link#6 UH 376 16384 lo0 Loopback
ipv6 2001:4860:4860::8844 fe80::217:10ff:fe93:fd18%igb2 UGHS 22834 1500 igb2 CABLE
ipv6 2604:5580:41:29::/64 link#3 U 0 1500 igb2 CABLE
ipv6 2604:5580:101:19::/64 link#3 U 0 1500 igb2 CABLE
ipv6 2607:9880:1:29::/64 link#3 U 0 1500 igb2 CABLE
ipv6 2607:f2c0:8006:2::aaaa link#17 UHS 0 16384 lo0 Loopback
ipv6 2607:f2c0:eb8a:d00::/64 link#11 U 4060 1500 lagg0_vlan20 LAN
ipv6 2607:f2c0:eb8a:d00:4262:31ff:fe06:af3a link#11 UHS 0 16384 lo0 Loopback
ipv6 2607:f2c0:eb8a:d04::/64 link#12 U 9165 1500 lagg0_vlan30 WIFI
ipv6 2607:f2c0:eb8a:d04:4262:31ff:fe06:af3a link#12 UHS 0 16384 lo0 Loopback
ipv6 2607:f2c0:f200:1909::/64 link#3 U 512 1500 igb2 CABLE
ipv6 2607:f2c0:f200:1909:aaaa:aaaa:aaaa:aaaa link#3 UHS 0 16384 lo0 Loopback
ipv6 2607:f798:70:10ad::/64 link#3 U 0 1500 igb2 CABLE
ipv6 2607:f798:80c:ba::/64 link#3 U 0 1500 igb2 CABLE
ipv6 fd07:f798:3:41f8::/64 link#3 U 0 1500 igb2 CABLE
ipv6 fdeb:df40:8dd7::/48 link#18 U 0 1420 wg0 WIREGUARD
ipv6 fdeb:df40:8dd7::1 link#18 UHS 0 16384 lo0 Loopback
ipv6 fe80::%igb2/64 link#3 U 36402 1500 igb2 CABLE
ipv6 fe80::4262:31ff:fe06:af3c%igb2 link#3 UHS 0 16384 lo0 Loopback
ipv6 fe80::%igb3/64 link#4 U 0 1500 igb3
ipv6 fe80::4262:31ff:fe06:af3d%igb3 link#4 UHS 0 16384 lo0 Loopback
ipv6 fe80::%lo0/64 link#6 U 0 16384 lo0 Loopback
ipv6 fe80::1%lo0 link#6 UHS 0 16384 lo0 Loopback
ipv6 fe80::%lagg0/64 link#9 U 0 1500 lagg0
ipv6 fe80::4262:31ff:fe06:af3a%lagg0 link#9 UHS 0 16384 lo0 Loopback
ipv6 fe80::%lagg0_vlan10/64 link#10 U 36 1500 lagg0_vlan10 DMZ
ipv6 fe80::4262:31ff:fe06:af3a%lagg0_vlan10 link#10 UHS 0 16384 lo0 Loopback
ipv6 fe80::%lagg0_vlan20/64 link#11 U 138311 1500 lagg0_vlan20 LAN
ipv6 fe80::4262:31ff:fe06:af3a%lagg0_vlan20 link#11 UHS 0 16384 lo0 Loopback
ipv6 fe80::%lagg0_vlan30/64 link#12 U 336006 1500 lagg0_vlan30 WIFI
ipv6 fe80::4262:31ff:fe06:af3a%lagg0_vlan30 link#12 UHS 0 16384 lo0 Loopback
ipv6 fe80::%lagg0_vlan40/64 link#13 U 0 1500 lagg0_vlan40 THINGS
ipv6 fe80::4262:31ff:fe06:af3a%lagg0_vlan40 link#13 UHS 0 16384 lo0 Loopback
ipv6 fe80::%lagg0_vlan50/64 link#14 U 0 1500 lagg0_vlan50 GUEST
ipv6 fe80::4262:31ff:fe06:af3a%lagg0_vlan50 link#14 UHS 0 16384 lo0 Loopback
ipv6 fe80::%lagg0_vlan1/64 link#15 U 0 1500 lagg0_vlan1 MGMT
ipv6 fe80::4262:31ff:fe06:af3a%lagg0_vlan1 link#15 UHS 0 16384 lo0 Loopback
ipv6 fe80::%pppoe0/64 link#17 U 23071 1492 pppoe0 DSL
ipv6 fe80::4262:31ff:fe06:af3c%pppoe0 link#17 UHS 0 16384 lo0 Loopback

The IPv6 address assigned to CABLE is

Code: [Select]
IPv6 address 2607:f2c0:f200:1909:aaaa:aaaa:aaaa:aaaa/128
IPv6 delegated prefix 2607:f2c0:eb8a:d00::/56
IPv6 gateway fe80::217:10ff:fe93:fd18

The IPv6 address assigned to DSL is

Code: [Select]
IPv6 address 2607:f2c0:8006:2::aaaa/128
IPv6 delegated prefix 2607:f2c0:95a5:c500::/56
IPv6 gateway fe80::200:ff:fe00:0

As you can see, I'm getting no routes to my DSL interface except the "link#17" loopback route.

I have dhcp6c logging turned up to debug, but i see no mention of routing. Is this how IPv6 over PPPoE should work? The lack of routes seems to be the reason why things aren't working. I can't ping anything through that interface as far as I can tell.
Title: Re: IPv6 over PPPoE (in a multiwan setup)
Post by: cpw on September 13, 2021, 03:16:52 pm
So, after upgrading to 21.7.2, this is still happening. I have no valid IPv6 routes out of the PPPoE interface.. Am I missing something? Has anyone successfully gotten IPv6 over PPPoE working in a multiwan setup?
Title: Re: IPv6 over PPPoE (in a multiwan setup)
Post by: bimbar on September 13, 2021, 06:39:22 pm
Does it work if you use DSL only and disable the Cable?

Are the uplinks using DHCPv6-PD?

I am highly doubtful whether IPv6 with dynamic prefixes and multiple routers in one LAN can work at all, see https://forum.opnsense.org/index.php?topic=24492.0 .
Title: Re: IPv6 over PPPoE (in a multiwan setup)
Post by: cpw on September 13, 2021, 06:50:50 pm
It did, at one point, over a year ago, work for a short period of time. I'm currently not delegating any prefixes locally, though when I tried, it didn't make a difference. (I have a DMZ that would receive prefixes from this connection, vs the other connection which PDs to the WIFI).

As far as I can tell, the problem is that none of the routing is being setup for the DSL line, even for just the local address.