@patapsWhich PPPoE username are you using in your setup? The one with "/ipv6" suffix or without one?If the one without suffix then does the PPPoE connection provide IPV6CP layer to you?
@patapsOk, my brain just exploded. HOW??? Which version of OPNsense do you have in your setup? For me it sounds like a bug that just became a feature
Suppose now is as good as ever to work on this while there are testers? DISCLAIMER: I have worked on PPPoE for many years with users, but I do not have a setup to test. I can verify the config looks correct and mpd5 starts, but that's about it.https://github.com/opnsense/core/commit/84a6d3adWhat I did:Decouple IP modes from the decision that mpd5 daemon is going to be used. It's now possible to set IPv4 None and IPv6 DHCPv6 and still run in PPPoE mode if the PPPoE device is assigned to WAN.What I didn't do yet:Wire DHCPv6 to the IPv6 event in case PPPoE only runs on IPv6. I'm not sure which way to go. It also requires "IPv4 connectivity" changes that I wanted to do anyway because this doesn't make any sense when only IPv6 is acquired. But in the end only the user knows if we should trigger further connectivity on IPv4 or IPv6 tunnel establishment.Feel free to try and tell me how it goes:# opnsense-patch 84a6d3ad(This is especially helpful with people already using PPPoE successfully.)Cheers,Franco
Ok, so far so good. Finished the POC: https://github.com/opnsense/core/commit/e6f0ac158dc# opnsense-revert opnsense && opnsense-patch e6f0ac158dcIf all goes well it should start dhcp6c automatically now in the latest config you mentioned.IPv4 connectivity setting is gone now and the default. You need it anyway since you want DHCPv6 over PPPoE.Cheers,Franco
Good. Do you get your PD?I'll trickle the relevant commits into the development version after 24.7.1 is out tomorrow.I don't want to squash the full history yet the back-and-forth code changes can probably be removed.Cheers,Franco
Neat, thanks for confirming.Yes, correct. The patch should apply to 24.7.1 as well, but the reboot might get in the way.Since this code is a change of behaviour in some ways most of it needs to be locked away for 25.1 I'm afraid. We could hook you up on the development version which would do what you need without patching once 24.7.2 hits.I'm aware of what I'm suggesting but I also don't want to surprise other PPPoE users right now and those that don't have issues right now will need to test this too, which could introduce other problems for you so the development version would give us a quick feedback from you over time as well.Cheers,Franco