PPPoE: Problems getting an IPv6 address on reconnection and other problems
-
Hmm, well I guess that's a good result? But I hate unexplained behaviour like that.
The connection now still loos like the connection log above?
That clearly shows the ISP does send an RA so I wouldn't expect to need 'do not wait' to be set:
2025-06-20 05:42:59.290097+03:00 rtsold 75589 Received RA specifying route fe80::669e::IPV68 for interface wan(pppoe0)
I also note that appears to be part of an HA pair. Is that LAN side only?
As far as I know if_pppoe cannot work in an HA setup on the WAN side. The previous workaround setup no longer works.
-
@stephenw10 said in PPPoE: Problems getting an IPv6 address on reconnection and other problems:
Hmm, well I guess that's a good result? But I hate unexplained behaviour like that.
I can live with that
@stephenw10 said in PPPoE: Problems getting an IPv6 address on reconnection and other problems:
The connection now still loos like the connection log above?
Something like that, yes
@stephenw10 said in PPPoE: Problems getting an IPv6 address on reconnection and other problems:
I also note that appears to be part of an HA pair. Is that LAN side only?
The HA VIPs are configured only on WAN 2 (which has a static address) and on two LANs. However, even after I disabled HA, the same behavior persists.
@stephenw10 said in PPPoE: Problems getting an IPv6 address on reconnection and other problems:
As far as I know if_pppoe cannot work in an HA setup on the WAN side. The previous workaround setup no longer works.
Overall, the setupâHA only on one WAN (the non-PPPoE link) and on the LAN networks, plus active fail-over between the WANsâdoes work. The only thing I donât quite understand is why HA triggers specifically when the PPPoE link drops: the master flips to backup and back again for a few seconds, basically flapping. Iâm not sure whether it always behaved like that. In any case, Iâve reached the point where, even if the switchover isnât completely seamless, the downtime is only about five seconds when, say, I power off one firewallâand thatâs good enough for me.
-
Hmm, interesting. I agree, I wouldn't expect to see CARP bounce if there's no CARP VIP on the pppoe interface.
-
@stephenw10 said in PPPoE: Problems getting an IPv6 address on reconnection and other problems:
I wouldn't expect to see CARP bounce
me too
CARP bounce if there's no CARP VIP on the pppoe interface
No VIP on the PPPoE interface and no VIP on the parent interface.
Donât you have anything like that in your test configurations? It would be nice to check, just out of curiosity. Iâm not sure it hasnât always been there. -
We don't test that by default because 'officially' pppoe is not a supported interface type in HA. But I know there were/are people using it in various unsupported ways.
I'll try to set something up.
-
Some other bug or feature found, or maybe I did something wrong
For example, I put pppoe0 down by issuing ifconfig pppoe0 down:
pppoe0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1492 description: WAN options=0 inet6 fe80::d250:99ff:fec1:71b%pppoe0 prefixlen 64 scopeid 0x11 groups: pppoec nd6 options=121<PERFORMNUD,AUTO_LINKLOCAL,NO_DAD>
And then I see default route still the same
IPv6 Routes ::/0 fe80::669e:f3ff:fe94:dd00%pppoe0 UGS 29 1492 pppoe0
By the way, I donât see fe80::669e:f3ff:fe94:dd00 anywhere.
Expected behavior is switching to another gateway on the WAN2, ex tier2
-
Hmm, does the gateway show as down? Anything logged?
-
@stephenw10
Pending. Shouldnât it be in a pending state only when PPPoE is up but not yet connected?
@stephenw10 said in PPPoE: Problems getting an IPv6 address on reconnection and other problems:
Anything logged?
Unfortunately I've already destroyed pppoe0 so no logs currently, but I'll try to reproduce it later and see what do we have in the logs.
-
It depends how the gaterway is defined but if it's dynamic like that then, yes, I'd expect it to not show as pending.
Do you see the same thing of you disconnect the pppoe via the Interfaces Status page? Downing the interface manually is not something that would usually happen.
-
@stephenw10 said in PPPoE: Problems getting an IPv6 address on reconnection and other problems:
Do you see the same thing of you disconnect the pppoe via the Interfaces Status page?
Yes, it is showing "pending" even if I disconnect it via GUI.
-
Something tells me that all the issues with obtaining IPv6 addresses come from the fact that Iâve got a multi-WAN setup, and Iâm using IPv6 on both links (different subnets). Because, if we look at the scenario where the WAN PPPoE interface doesnât get an IPv6, I simply open the WAN2 interfaceâwhere both IPv4 and IPv6 addresses are picked up automatically by DHCPâclick âSaveâ and âApplyâ without changing anything (which effectively just runs the reconfigure script), and after that I suddenly get an IPv6 on the WAN PPPoE⌠Very strange, isnât it?
All right, so I go back into WAN2âs settings again, disable IPv6 completely, set the default route to âAutomatic,â delete the failover gateway, and remove the remaining DHCPv6 gateway.
Then I flip CARP into maintenance mode and end up with the following picture (note the WAN2 interface).
Why am I getting an IPv6 address on WAN2 when itâs clearly set to âNoneâ?
I think someone else needs to test a multi-WAN setup with IPv6 enabled on at least two WAN interfaces and one is PPPoE, and I don't think CARP is needed. -
Hmm. Well that's interesting.
Is that IPv6 address you're getting on WAN2 correct for WAN2? Or is it somehow applying the PPPoE v6 address there?
-
@stephenw10
No, thatâs the correct address for WAN2 when DHCPv6 is enabled. It has only happened once in my tests so far, and I havenât run long-term tests yetâI need the network up right now. The next time I can experiment will be tomorrow morning. -
The glitch where an IPv6 address appeared on WAN2 even though IPv6 was disabled on that interface hasnât happened again after I simply hit Save & Apply with no changes.
Iâve now booted into version 23.09.1. From what I can see, the key difference in the GUI is how interface status is reported: in 23.09.1 the interface stays down until the PPPoE session is actually established by mpd5, whereas in 23.05 the interface flips to UP as soon as the virtual pppoe0 device gets the UP flagâeven though the PPP session hasnât finished negotiating. I donât think this behaviour affects anything functional, but it is worth noting.
At this point my working theory is that the problem only occurs when both WAN links use DHCPv6. If I switch WAN2 to SLAAC (which is also an option), the disconnect/connect cycle works fine and I donât see any issues.
-
Hmm, yes if_pppoe shows as up as soon as it starts to try to connect. If that is the case you should also not see it when running mpd5 in 25.03.
-
@stephenw10
No, I'm not sure whether the up/down state affects the receiving of IPv6 addresses or not. I can certainly test it with mpd5 just in case, but later. If no one else is having issues in a multi-WAN configuration where both WANs receive IPv6 via DHCP, then I'm fine with switching the second WAN to an alternative configuration using SLAAC only. -
It's not something I've heard from anyone else. I know at least one of our devs has dual pppoe WANs with IPv6 on both.
-
@stephenw10 said in PPPoE: Problems getting an IPv6 address on reconnection and other problems:
dual pppoe WANs with IPv6 on both.
DHCP? -
DHCPv6 over PPPoE. The usual PPPoE setup.