Here I show the commands to create a MPLS/VPLS network with transparent bridging. Each PC in the diagram are on their own private LAN. Pretty cool setup if you use Mikrotik routers. OSPF/MPLS/LDP/VPLS is all setup. It can be hard to find information to do this on Mikrotik routers. So here it is. Plain and simple. Each PC is connected to ETH2 on the Mikrotik’s. This is built in GNS3, using the GNS3 VM. Basically, it is all about the bridge. Put both the ETH interface and the VPLS interface in the bridge you create and that’s it!

R1 Config:

/interface bridge
add name=br_VPLS
add fast-forward=no name=loopback
add fast-forward=no name=p2p01
/interface ethernet
set [ find default-name=ether1 ] disable-running-check=no
set [ find default-name=ether2 ] disable-running-check=no
set [ find default-name=ether3 ] disable-running-check=no
set [ find default-name=ether4 ] disable-running-check=no
set [ find default-name=ether5 ] disable-running-check=no
set [ find default-name=ether6 ] disable-running-check=no
set [ find default-name=ether7 ] disable-running-check=no
set [ find default-name=ether8 ] disable-running-check=no
/interface vpls
add disabled=no l2mtu=1500 name=VPLS01 remote-peer=10.0.0.20 vpls-id=1:1
/interface vlan
add interface=ether1 name=ether1-vlan100 vlan-id=100
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/routing ospf instance
set [ find default=yes ] router-id=10.0.0.10
/interface bridge port
add bridge=p2p01 interface=ether1-vlan100
add bridge=br_VPLS interface=ether2
add bridge=br_VPLS interface=VPLS01
/ip address
add address=10.0.0.10 interface=loopback network=10.0.0.10
add address=172.16.0.153/30 interface=p2p01 network=172.16.0.152
/ip dhcp-client
add disabled=no interface=ether1
/mpls ldp
set enabled=yes transport-address=10.0.0.10
/mpls ldp interface
add interface=ether1
add interface=p2p01
/routing ospf interface
add interface=p2p01 network-type=point-to-point
/routing ospf network
add area=backbone network=10.0.0.10/32
add area=backbone network=172.16.0.152/30
/system identity
set name=Mikrotik01

R2 Config:

/interface bridge
add name=br_VPLS
add fast-forward=no name=loopback
add fast-forward=no name=p2p01
add fast-forward=no name=p2p02
/interface ethernet
set [ find default-name=ether1 ] disable-running-check=no
set [ find default-name=ether2 ] disable-running-check=no
set [ find default-name=ether3 ] disable-running-check=no
set [ find default-name=ether4 ] disable-running-check=no
set [ find default-name=ether5 ] disable-running-check=no
set [ find default-name=ether6 ] disable-running-check=no
set [ find default-name=ether7 ] disable-running-check=no
set [ find default-name=ether8 ] disable-running-check=no
/interface vpls
add disabled=no l2mtu=1500 name=VPLS01 remote-peer=10.0.0.10 vpls-id=1:1
add disabled=no l2mtu=1500 name=VPLS02 remote-peer=10.0.0.30 vpls-id=1:1
/interface vlan
add interface=ether1 name=ether1-vlan100 vlan-id=100
add interface=ether3 name=ether3-vlan200 vlan-id=200
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/routing ospf instance
set [ find default=yes ] router-id=10.0.0.20
/interface bridge port
add bridge=p2p01 interface=ether1-vlan100
add bridge=p2p02 interface=ether3-vlan200
add bridge=br_VPLS interface=ether2
add bridge=br_VPLS interface=VPLS01
add bridge=br_VPLS interface=VPLS02
/ip address
add address=10.0.0.20 interface=loopback network=10.0.0.20
add address=172.16.0.154/30 interface=p2p01 network=172.16.0.152
add address=172.16.0.157/30 interface=p2p02 network=172.16.0.156
/ip dhcp-client
add disabled=no interface=ether1
/mpls ldp
set enabled=yes transport-address=10.0.0.20
/mpls ldp interface
add interface=ether1
add interface=ether3
add interface=p2p01
add interface=p2p02
/routing ospf interface
add interface=p2p01 network-type=point-to-point
add interface=p2p02 network-type=point-to-point
/routing ospf network
add area=backbone network=10.0.0.20/32
add area=backbone network=172.16.0.152/30
add area=backbone network=172.16.0.156/30
/system identity
set name=Mikrotik02

R3 Config:

/interface bridge
add name=br_VPLS
add fast-forward=no name=loopback
add fast-forward=no name=p2p01
/interface ethernet
set [ find default-name=ether1 ] disable-running-check=no
set [ find default-name=ether2 ] disable-running-check=no
set [ find default-name=ether3 ] disable-running-check=no
set [ find default-name=ether4 ] disable-running-check=no
set [ find default-name=ether5 ] disable-running-check=no
set [ find default-name=ether6 ] disable-running-check=no
set [ find default-name=ether7 ] disable-running-check=no
set [ find default-name=ether8 ] disable-running-check=no
/interface vpls
add disabled=no l2mtu=1500 name=VPLS01 remote-peer=10.0.0.20 vpls-id=1:1
/interface vlan
add interface=ether1 name=ether1-vlan200 vlan-id=200
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/routing ospf instance
set [ find default=yes ] router-id=10.0.0.30
/interface bridge port
add bridge=p2p01 interface=ether1-vlan200
add bridge=br_VPLS interface=ether2
add bridge=br_VPLS interface=VPLS01
/ip address
add address=10.0.0.30 interface=loopback network=10.0.0.30
add address=172.16.0.158/30 interface=p2p01 network=172.16.0.156
/ip dhcp-client
add disabled=no interface=ether1
/mpls ldp
set enabled=yes transport-address=10.0.0.30
/mpls ldp interface
add interface=ether1
add interface=p2p01
/routing ospf interface
add interface=p2p01 network-type=point-to-point
/routing ospf network
add area=backbone network=10.0.0.30/32
add area=backbone network=172.16.0.156/30
/system identity
set name=Mikrotik03

By Tim