Community discussions

MikroTik App
 
User avatar
nichky
Forum Guru
Forum Guru
Topic Author
Posts: 1280
Joined: Tue Jun 23, 2015 2:35 pm

[ASK] PPPoE vlan filtering

Fri Oct 15, 2021 1:54 am

I got simple scenario where i want to deliver pppoe to the clients by using vlan-filtering.
The config that im posting is from my MAIN router,
Plese note everything works.
What im asking is , whether this right way to go

/interface bridge
add name=br-ppp
add name=br-vl vlan-filtering=yes
/interface vlan
add comment=Mngm interface=br-vl name=vlan10 vlan-id=10
add comment=vl20-pppoe interface=br-vl name=vlan20 vlan-id=20
/interface bridge port
add bridge=br-vl interface=ether3
add bridge=br-ppp interface=vlan20
/interface bridge vlan
add bridge=br-vl tagged=br-vl,ether3 vlan-ids=10
add bridge=br-vl tagged=ether3 vlan-ids=20
/interface pppoe-server server
add disabled=no interface=br-ppp service-name=PPPoE
/ip address
add address=10.10.10.1/24 interface=vlan10 network=10.10.10.0
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1
/ppp secret
add local-address=12.11.11.1 name=user1 password=123 remote-address=12.11.11.2 service=pppoe
 
tdw
Forum Guru
Forum Guru
Posts: 1847
Joined: Sat May 05, 2018 11:55 am

Re: [ASK] PPPoE vlan filtering

Fri Oct 15, 2021 4:33 am

No, see https://help.mikrotik.com/docs/display/ ... einabridge. Remove br-ppp, attach the PPPoE server to vl20-pppoe, and configure the br-vl port membership.
 
User avatar
nichky
Forum Guru
Forum Guru
Topic Author
Posts: 1280
Joined: Tue Jun 23, 2015 2:35 pm

Re: [ASK] PPPoE vlan filtering

Fri Oct 15, 2021 5:24 am

i did try that, see what i have missed:


/interface bridge vlan add bridge=br-vl tagged=ether3,br-vl vlan-ids=20

Thanks!

Who is online

Users browsing this forum: pyfgcrl, ShindigNZ and 131 guests