Community discussions

MikroTik App
 
oquiroz
just joined
Topic Author
Posts: 1
Joined: Tue Dec 11, 2018 3:15 am

MikroTik VPLS with Cisco EoMPLS not working

Tue Dec 11, 2018 4:03 am

Hi guys!

I'm trying to implement a VPLS tunnel between Cisco and MikroTik. In MikroTik says vpls is running and in Cisco says the virtual circuit is UP. But I can't get the computers at each side to speak to each other.

My config is this:
R2 (Cisco)
ip cef
!
mpls label protocol ldp
!
pseudowire-class vpls30
encapsulation mpls
control-word
!
interface Loopback0
ip address 2.2.2.2 255.255.255.255
!
interface GigabitEthernet0/0
description R2-R1
mtu 1580
ip address 10.0.12.2 255.255.255.252
mpls ip
mpls label protocol ldp
mpls mtu 1530
!
interface GigabitEthernet1/0
description R2-R3
mtu 1580
ip address 10.0.23.1 255.255.255.252
mpls ip
mpls label protocol ldp
mpls mtu 1530
!
interface GigabitEthernet2/0
mtu 1530
no ip address
!
interface GigabitEthernet2/0.10
description LAN
encapsulation dot1Q 10
ip address 192.168.2.1 255.255.255.0
!
interface GigabitEthernet2/0.20
description VPLS R2-R4 (CISCO-CISCO)
encapsulation dot1Q 20
xconnect 4.4.4.4 20 encapsulation mpls
!
interface GigabitEthernet2/0.30
description VPLS R2-R5 (CISCO-MIKROTIK)
encapsulation dot1Q 30
xconnect 5.5.5.5 30 encapsulation mpls pw-class vpls30
mtu 1530
!
router ospf 1
router-id 2.2.2.2
passive-interface default
no passive-interface GigabitEthernet0/0
no passive-interface GigabitEthernet1/0
network 2.2.2.2 0.0.0.0 area 0
network 10.0.12.0 0.0.0.3 area 0
network 10.0.23.0 0.0.0.3 area 0
network 192.168.2.0 0.0.0.255 area 0
!
mpls ldp router-id Loopback0
R5 (MikroTik)
/interface bridge
add comment="VPLS R5-R1 (MIKROTIK-MIKROTIK)" mtu=1530 name=bridge20
add comment="VPLS R5-R2 (MIKROTIK-CISCO)" mtu=1530 name=bridge30
add name=loopback0

/interface ethernet
set [ find default-name=ether1 ] comment=R5-R4 mtu=1580
set [ find default-name=ether2 ] mtu=1530

/interface vpls
add advertised-l2mtu=1530 cisco-style=yes cisco-style-id=20 comment=R5-R1 disabled=no l2mtu=1530 mac-address=02:66:B1:C9:AE:A9 mtu=1530 name=vpls20 pw-type=tagged-ethernet remote-peer=1.1.1.1
add advertised-l2mtu=1530 cisco-style=yes cisco-style-id=30 comment=R5-R2 disabled=no l2mtu=1530 mac-address=02:BD:39:70:D4:E5 mtu=1530 name=vpls30 pw-type=tagged-ethernet remote-peer=2.2.2.2 use-control-word=yes

/interface vlan
add comment=LAN interface=ether2 name=vlan10 vlan-id=10
add comment="VPLS R5-R1 (MIKROTIK-MIKROTIK)" interface=ether2 name=vlan20 vlan-id=20
add comment="VPLS R5-R2 (MIKROTIK-CISCO)" interface=ether2 name=vlan30 vlan-id=30

/routing ospf instance
set [ find default=yes ] router-id=5.5.5.5

/interface bridge port
add bridge=bridge20 interface=vlan20
add bridge=bridge20 interface=vpls20
add bridge=bridge30 interface=vlan30
add bridge=bridge30 interface=vpls30

/ip address
add address=5.5.5.5 interface=loopback0 network=5.5.5.5
add address=10.0.45.2/30 comment=R5-R4 interface=ether1 network=10.0.45.0
add address=192.168.5.1/24 comment=LAN interface=vlan10 network=192.168.5.0

/mpls interface
set [ find default=yes ] mpls-mtu=1530

/mpls ldp
set enabled=yes lsr-id=5.5.5.5 transport-address=5.5.5.5

/mpls ldp interface
add comment=R5-R4 interface=ether1

/routing ospf interface
add comment=R5-R4 interface=ether1 network-type=broadcast
add interface=vlan10 network-type=broadcast passive=yes

/routing ospf network
add area=backbone network=5.5.5.5/32
add area=backbone comment=LAN network=192.168.5.0/24
add area=backbone comment=R5-R4 network=10.0.45.0/30
As you can see, R2 has EoMPLS with R4 (Cisco-Cisco) in vlan20 and it works great, R5 has VPLS with R1 (MikroTik-MikroTik) also in vlan20 and works great as well. But R2 with R5 (Cisco-MikroTik) doesnt work even when it says is ok.

Who is online

Users browsing this forum: jaclaz and 19 guests