WAN interface no longer used after PPPOE setup ?

Started by mdastous, May 14, 2025, 12:54:57 AM

Previous topic - Next topic
Hi,

I switched to a new provider that requires a pppoe/vlan setup... I followed the instructions from the doc and it worked fine.

However, I noticed that WAN interface is no longer used, instead the newly created PPPOE device is now used.  Is that normal or I missed a step ?

Tx!

May 14, 2025, 01:48:07 AM #1 Last Edit: May 14, 2025, 01:50:52 AM by meyergru
There is a hierarchy: physical ethernet interface -> (optional) vlan interface -> pppoe0 interface. The pppoe interface should be your WAN interface. If you defined the hierarchy while you still had your WAN, on say, an ethernet interface igb0 that is provisioned via DHCP, then you should go to Interface -> Assignments and switch the WAN to pppoe0.

By doing that, you restore all of your WAN-related rules back to the actual WAN interface, which is now pppoe0.

There is a distinction between the real devices (igb0 or pppoe0) and their logical names (e.g. "WAN") that can be altered via assignments.

Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005

1100 down / 800 up, Bufferbloat A+

Attempting to assign wan to pppoe0 gives me an error saying pppoe0 is already assigned to another interface (opt5).  I should remove this assignment first, right?

Also does that means my physical ethernet port (igc0) is no longer going to be assigned to any interface?
Tx

May 14, 2025, 05:57:48 PM #3 Last Edit: May 14, 2025, 06:00:35 PM by meyergru
I meant the other way around. Your WAN will have something assigned to it now, you should change that to pppoe0. If you get an error message, then because pppoe0 is assigned to some other logical interface name, which you will have to remove it from, first. This probably works only after you uncheck the "prevent interface removal" box on that interface - only then will the delete button appear in the list.

Afterwards, the underlying interface will still be there in the list down at the bottom.

Do press the save button only after everything is set up - not after every step (apart from the removal of said checkbox).

And yes, the physical interface below a pppoe interface does not strictly have to be assigned to a logical interface - it will get configured via pppoe. If you need it to be assigned anything, like hardware parameters or addresses, you will need to give that a logical interface, though. You can only configure those, that is why.
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005

1100 down / 800 up, Bufferbloat A+

Thanks for taking time to provide all those details. 
After changing the WAN assignment, I had to adjust my gateway, which was also messed up. 

Now everything is setup as it should!