Passing Vlans traffic over MPLS/VPLS

Hello everyone,

I have configured a vpls tunnel between two of mikrotik routers A and B and I have passed a vlan2008 on the VPLS link in the mikrotik router A and B.

DHCP server for vlan2008 is in the mikrotik router A.

Upon configuring dhcp-client for vlan2008 in the mikrotik router B I have successfully received an ip address as well. But the issue is I am not able to pass the traffic of this vlan2008 on other ports of the mikrotik router B.

I have vpls interface and all the other ethernet interfaces inside one bridge except one ethernet interface which is connected to the ONU.

I have tried vlan bridge filtering as well but that is also not working. I would be grateful if anyone from the community can have a look at it.

Below is my mikrotik router B’s config.

#
# model = RB960PGS-PB
# /interface bridge
add arp=disabled name=bridge vlan-filtering=yes
/interface ethernet
set [ find default-name=ether1 ] comment="Connected to Shop"
set [ find default-name=ether2 ] arp=disabled poe-out=off
set [ find default-name=ether3 ] arp=disabled poe-out=off
set [ find default-name=ether4 ] arp=disabled poe-out=off
set [ find default-name=ether5 ] arp=disabled poe-out=forced-on
set [ find default-name=sfp1 ] comment="ONU Uplink"
/interface vpls
add arp=enabled bridge=bridge disabled=no mac-address=02:5A:5C:70:xx:xx mtu=\
    1500 name=vpls1 peer=172.30.0.1 pw-l2mtu=1508 pw-type=raw-ethernet \
    vpls-id=2040:1011
/interface vlan
add interface=sfp1 name=sfp1.52 vlan-id=52
add interface=sfp1.52 name=sfp1.52.624 vlan-id=624
add interface=bridge name=vlan2008 vlan-id=2008
add interface=vpls1 name=vula-vlan2008 vlan-id=2008
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=hotspot
/routing ospf instance
add disabled=no name=ospf-instance-1
/routing ospf area
add disabled=no instance=ospf-instance-1 name=ospf-area-1
/snmp community
set [ find default=yes ] name=snmp
/interface bridge port
add bridge=bridge horizon=10 interface=ether2
add bridge=bridge horizon=10 interface=ether3
add bridge=bridge horizon=10 interface=ether4
add bridge=bridge horizon=10 interface=ether5
add bridge=bridge interface=ether1
/ip neighbor discovery-settings
set discover-interface-list=!dynamic
/interface bridge vlan
add bridge=bridge tagged=bridge,vpls1 untagged=ether1 vlan-ids=2008
/ip address
add address=172.30.0.11/22 interface=sfp1.52.624 network=172.30.0.0
add address=172.10.10.2/24 disabled=yes interface=ether1 network=172.10.10.0
/ip dhcp-client
add interface=vula-vlan2008
/ip route
add disabled=yes distance=1 dst-address=192.168.90.0/24 gateway=172.30.0.1 \
    pref-src="" routing-table=main scope=30 suppress-hw-offload=no \
    target-scope=10
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www disabled=yes
set ssh disabled=yes
set api disabled=yes
set api-ssl disabled=yes
/mpls ldp
add disabled=no lsr-id=172.30.0.11 transport-addresses=172.30.0.11
/snmp
/system clock

First of all, you are using vlan filtering for port vpls1, but you have not added that port to the bridge.
I also think that, since you are trying to pass tagged packets through VPLS, the pw-type should be of type “tagged-ethernet”.

Thank you for the response. I did add the vpls interface after sometime during my testing and it worked. There’s one more thing which I want and wondering how to do it correctly, I have 20 to 30 vlans in the network and i want to pass them all through the vpls link in the mikrotik device A, so, do i need to add all the vlan interfaces and the vpls interface under one bridge ?

Issue is that each vlan is already a part of one dedicated bridge and we have configured dhcp servers for all the vlan bridges. So, I can’t simply add these vlan interfaces into another bridge since each vlan interface is already a part of a dedicated bridge. Any idea ?