PPPoe / vlan issue

Started by HCB, August 10, 2024, 06:17:18 PM

Previous topic - Next topic
Hi,

I've been having this issue for a while. Upgrading to 24.7 reminded me.

My connection (KPN NL Fiber) requires PPPoe with a vlan on WAN to set up connectivity.
This works well, but after every reboot (upgrade, manual reboot) or change to the WAN interface (fiddling with ipv6 in this case), the interface goes down.

The fix is to manually  disable the vlan on the interface, save, re-enable it and save again for connectivity to pick up.
Interfaces > Point to Point > Devices > edit > untick vlan0.x > Save > tick vlan0.x > Save

I've tried looking at the logs, but I'm out of my depth and I'm not seeing any smoking guns.
I'm not sure if this is a bug, or if I am missing a setting somewhere to reconnect the pppoe/vlan automatically.
Can someone help track this down so I can either resolve this or file a meaningful bug report?


Could be this issue/fix https://github.com/opnsense/core/commit/62a09bfa0a1 -- it's planned to be added to 24.7.2.


Cheers,
Franco

Quote from: franco on August 10, 2024, 08:24:00 PM
Could be this issue/fix https://github.com/opnsense/core/commit/62a09bfa0a1 -- it's planned to be added to 24.7.2.


Cheers,
Franco

Thank you. I'm not comfortable compiling the test patch, but I'll wait to see if this fixes it. If not, I'll get back to this thread and see if we can figure out what is going on.

@franco

I just updated to 24.7.2. Update went flawless, but I still had to do the vlan jiggle to WAN to come up.

Was the patch/possible you were referring to fully implemented in 24.7.2? There still appears to be ongoing development in that the pinned PPPoe thread.

TLDR: not fixed quite yet. If there's anything I can do to help track this down, I'm happy to file a report, but please tell me which logs/info you'd need.

Can you share the system and PPP logs with me? franco@opnsense.org


Thanks,
Franco

August 25, 2024, 10:36:22 AM #6 Last Edit: August 25, 2024, 10:41:22 AM by doktornotor
Quote from: HCB on August 25, 2024, 10:02:34 AM
Was the patch/possible you were referring to fully implemented in 24.7.2?

This one - yes. For the PPPoE thread patches, no, you need


# opnsense-patch 77531748 7582088d


on 24.7.2 as noted there.

So, I just did that together with the VLAN setup - and, it's working here.

Might be related to the VLAN card or something tampering with it like Netmap use (Suricata/Zenarmor). I'll take a look at the email I got today.


Cheers,
Franco

Hi Franco,

Anything I can do to help you track this down further?

@HCB Can you make sure that your PPPoE Linked interface is only the VLAN? Selecting "WAN" there is sort of an ancient oddity. Also make sure to not select two interfaces as that kicks it into MLPPP mode which you probably don't have (that would be two hardware devices).

Eventually I'd like to remove the use of assigned interfaces in the PPP config. It doesn't make much sense, but will probably break a few setups.


Cheers,
Franco