pppoe vlan tagging help

Started by Marinoz, December 13, 2023, 05:43:34 PM

Previous topic - Next topic
Lately, ive been trying to setup a opnsense but i can not. My isp uses pppoe i have the (password and passname) and he uses vlan tagging too. I am currently having a lot of trouble trying to set it up because of the tagging. Can someone help? tag 401 and i have only two ports available wan and lan

Hi

First you need to set up the vlan tagged port.
Go to Interfaces, Other Types, VLAN
Press the red + on the right to add a new vlan

device will be vlan0.401
parent is the physical port linked to your ISP
vlan tag is 401

then save & apply

next you need to add the vlan tagged interface to the pppoe config

So Interfaces, Point to Point, Devices
Add the pppoe details, the link interface will be vlan0.401 (from above)

Finally, use the Interfaces, Assignments menu to set the interface for WAN to pppoe0 (or whatever your pppoe interface was called from above)

Should be all you need :)


My isps router configuration says it's has a Mac address and mtu do I copy these two too?

That's going to be ISP specific.

My ISP (UK CityFibre) doesn't need MAC and MTU is worked out by OPNsense itself.
I would try without and if no luck, try adding them...

BTW if I want to connect my isp routers as wlan how do I do it? Put trouter in bridge mode and just connect it to lan?

correct. Normally called in "AP" mode. Different vendors/firmwares have different way to putting them in that mode. The important part is that it only broadcast an SSD (or more) for clients to connect but doesn't do DHCP or any router function. All requests need to be passed to OPN.

Just throwing it out there:

Some routers/ISPs consider 'Bridged Mode' as 'Modem mode' ... where it would disable absolutely everything on the router, wifi, often various LAN ports, the lot.  Which wouldn't be what you want.

You could technically leave it in 'router' mode and connect to a LAN port, just makes sure DHCP on the LAN side is disabled.  Then making sure to avoid IP conflicts with the 'router' and other devices.

But then the routing won't be done by the opnsense will it? Or the dhcp will overwrite the routers rules? Well I prefer the bridge mode and if it doesn't work I will see

Quote from: iMx on December 15, 2023, 05:45:10 PM
Just throwing it out there:

Some routers/ISPs consider 'Bridged Mode' as 'Modem mode' ... where it would disable absolutely everything on the router, wifi, often various LAN ports, the lot.  Which wouldn't be what you want.

You could technically leave it in 'router' mode and connect to a LAN port, just makes sure DHCP on the LAN side is disabled.  Then making sure to avoid IP conflicts with the 'router' and other devices.

Yeah I think it won't work for telephony if in bridge mode I need to leave it on pppoe for some reason(I found this info in a greek forum about the router I haven't tried yet)