I have this topology:
ROUTER A (rb2011) ↔ PTP-BR1 (sxt-5hpnd)<–> PTP-BR2 (sxt-5hpnd) ↔ ROUTER B (rb2011) ↔ AP (sxt-hg) C
br1-br2 are connected via transparent wireless bridge. Topology is fully routed and A, B and C are running ospf and mpls.
I’m trying to create a vpls tunnel between A and C but can’t get it to work.
I am able to create a vpls tunnel from A to B and another vpls tunnel from B to C without a problem. If I bridge the 2 tunnels on B together then I can see and can connect to my PPPOE server on A from the AP C, which means mpls/ldp are working. What could be stopping A and C from establishing the vpls link?
If it was a mtu problem then A-B AND B-C vpls links would not work also.
Any ideas?
/system identity
set name=ROUTER-A
/interface bridge
add mtu=1500 name=COREBRIDGE protocol-mode=none
add mtu=1500 name=LOBRIDGE0 protocol-mode=none
/interface ethernet
set [ find default-name=ether1 ] name=ether1-CORE
set [ find default-name=ether5 ] name="ether5-T1"
set [ find default-name=ether6 ] name="ether6-T1-T3-TRANSFER"
set [ find default-name=ether7 ] name="ether7-T1-T2-TRANSFER"
set [ find default-name=ether8 ] name="ether8-T1-T5-TRANSFER"
set [ find default-name=ether9 ] name="ether9-WAN"
set [ find default-name=ether10 ] disabled=yes
set [ find default-name=sfp1 ] disabled=yes
/interface vpls
add advertised-l2mtu=1508 mac-address=02:9D:BB:69:25:86 name=vpls1 remote-peer=10.254.0.4 vpls-id=0:0
/ip pool
add name=dhcp_pool1 ranges=10.0.0.51-10.0.0.126
/ip dhcp-server
add address-pool=dhcp_pool1 disabled=no interface=COREBRIDGE lease-time=3d name=dhcp1
/routing ospf instance
set [ find default=yes ] distribute-default=always-as-type-1 redistribute-connected=as-type-1 redistribute-static=as-type-1 router-id=10.254.0.1
/interface bridge port
add bridge=COREBRIDGE interface=ether1-CORE
/ip address
add address=10.254.0.1 interface=LOBRIDGE0 network=10.254.0.1
add address=10.0.0.1/25 interface=COREBRIDGE network=10.0.0.0
add address=10.0.8.254/25 interface="ether5-T1" network=10.0.8.128
add address=10.0.0.137/29 interface="ether7-T1-T2-TRANSFER" network=10.0.0.136
add address=10.0.0.145/28 interface="ether6-T1-T3-TRANSFER" network=10.0.0.144
add address=192.168.9.253/24 interface="ether9-WAN)" network=192.168.9.0
add address=10.0.0.177/29 interface="ether8-T1-T5-TRANSFER" network=10.0.0.176
/ip dhcp-server network
add address=10.0.0.0/25 dns-server=10.0.0.1 gateway=10.0.0.1
/ip dns
set allow-remote-requests=yes servers=8.8.8.8,8.8.4.4
/ip firewall nat
add action=masquerade chain=srcnat comment="MAIN INTERNET NAT RULE" out-interface="ether9-WAN"
/ip route
add distance=1 gateway=192.168.9.254
/interface vpls
add advertised-l2mtu=1508 disabled=no l2mtu=1508 mac-address=02:BE:64:8C:25:97 name=" VPLS-TO-C" remote-peer=10.254.0.14 vpls-id=3:2
add advertised-l2mtu=1508 disabled=no l2mtu=1508 mac-address=02:A2:34:4B:07:1E name=VPLS-TO-B remote-peer=10.254.0.4 vpls-id=6:0
/mpls interface
set [ find default=yes ] mpls-mtu=1550
/mpls ldp
set enabled=yes lsr-id=10.254.0.1 transport-address=10.254.0.1
/mpls ldp interface
add interface=COREBRIDGE
add interface="ether7-T1-T2-TRANSFER(NEO CHORIO)"
/routing ospf network
add area=backbone network=10.0.0.0/8
/system identity
set name=P2P1
/interface bridge
add name=LOBRIDGE0
add name=bridge1
/interface wireless
set [ find default-name=wlan1 ] band=5ghz-onlyn l2mtu=1600 mode=bridge name=wlan1-gateway nv2-preshared-key=XXXXXXXX nv2-qos=frame-priority nv2-queue-count=8 nv2-security=enabled ssid=T1-P2P-T2 tdma-period-size=auto wireless-protocol=nv2
/interface bridge port
add bridge=bridge1 interface=ether1
add bridge=bridge1 interface=wlan1-gateway
/ip address
add address=10.0.0.138/29 interface=bridge1 network=10.0.0.136
add address=10.254.0.49 interface=LOBRIDGE0 network=10.254.0.49
/ip route
add distance=1 gateway=10.0.0.137
/system identity
set name=P2P2
/interface bridge
add mtu=1500 name=LOBRIDGE0 protocol-mode=none
add mtu=1500 name=bridge1
/interface wireless
set [ find default-name=wlan1 ] band=5ghz-onlyn l2mtu=2290 mode=station-bridge multicast-helper=disabled name=wlan1-gateway nv2-preshared-key=XXXXXXXX nv2-security=enabled ssid=T1-P2P-T2 wireless-protocol=nv2
/interface bridge port
add bridge=bridge1 interface=ether1
add bridge=bridge1 interface=wlan1-gateway
/ip address
add address=10.0.0.139/29 interface=bridge1 network=10.0.0.136
add address=10.254.0.233 interface=LOBRIDGE0 network=10.254.0.233
/ip route
add distance=1 gateway=10.0.0.142
/system identity
set name=ROUTER-B
/interface bridge
add mtu=1500 name=LOBRIDGE0 protocol-mode=none
add mtu=1500 name=T1-T2TRANSFER protocol-mode=none
add name=T2-BRIDGE0 protocol-mode=none
add name=T2-T3-TRANSFER
/interface ethernet
set [ find default-name=ether1 ] name=ether1-T2TRANSFER
set [ find default-name=ether2 ] name=ether2-T3TRANSFER
set [ find default-name=ether3 ] name=ether3-T2AP1
set [ find default-name=ether4 ] name=ether4-T2AP2
set [ find default-name=ether10 ] name=ether10-WAN
/ip pool
add name=dhcp_pool1 ranges=10.0.16.50-10.0.16.220
/ip dhcp-server
add address-pool=dhcp_pool1 disabled=no interface=T2-BRIDGE0 lease-time=3d name=dhcp1
/routing ospf instance
set [ find default=yes ] distribute-default=always-as-type-1 redistribute-connected=as-type-1 redistribute-static=as-type-1 router-id=10.254.0.4
/interface bridge port
add bridge=T1-T2TRANSFER interface=ether1-T2TRANSFER
add bridge=T2-T3-TRANSFER interface=ether2-T3TRANSFER
add bridge=T2-BRIDGE0 interface=ether3-T2AP1
add bridge=T2-BRIDGE0 interface=ether4-T2AP2
/ip address
add address=10.0.0.142/29 interface=T1-T2TRANSFER network=10.0.0.136
add address=10.254.0.4 interface=LOBRIDGE0 network=10.254.0.4
add address=10.0.16.1/24 interface=T2-BRIDGE0 network=10.0.16.0
add address=192.168.10.253/24 interface=ether10-WAN network=192.168.10.0
add address=10.0.0.161/29 interface=T2-T3-TRANSFER network=10.0.0.160
/ip dhcp-server network
add address=10.0.16.0/24 dns-server=10.0.16.1 gateway=10.0.16.1
add address=10.0.23.0/24 gateway=10.0.23.1
/ip firewall nat
add action=masquerade chain=srcnat comment="INTERNET MASQUERADE" out-interface=ether10-WAN
/ip route
add distance=1 gateway=192.168.10.254 scope=80
/interface vpls
add advertised-l2mtu=1508 disabled=no l2mtu=1508 mac-address02:50:59:CC:B7:D4 name=VPLS-TO-A remote-peer=10.254.0.1 vpls-id=6:0
add advertised-l2mtu=1508 disabled=no l2mtu=1508 mac-address=02:10:8C:05:81:E3 name=VPLS-TO-C remote-peer=10.254.0.14 vpls-id=8:2
/mpls interface
set [ find default=yes ] mpls-mtu=1550
/mpls ldp
set enabled=yes lsr-id=10.254.0.4 transport-address=10.254.0.4
/mpls ldp interface
add interface=T1-T2TRANSFER
add interface=T2-BRIDGE0
/routing ospf network
add area=backbone network=10.0.0.0/8
/system identity
set name=AP-C
/interface bridge
add mtu=1500 name=LOBRIDGE0 protocol-mode=none
/interface ethernet
set [ find default-name=ether1 ] name=T2
/interface wireless
set [ find default-name=wlan1 ] band=5ghz-a/n channel-width=20/40mhz-ht-above disabled=no l2mtu=2290 mode=ap-bridge name=T2AP1 ssid="my ssid" wireless-protocol=nv2-nstreme-802.11
/ip pool
add name=dhcp_pool1 ranges=10.0.18.2-10.0.18.254
/ip dhcp-server
add address-pool=dhcp_pool1 disabled=no interface=wlan1 lease-time=3d name=dhcp1
/routing ospf instance
set [ find default=yes ] redistribute-connected=as-type-1 router-id=10.254.0.14
/ip address
add address=10.0.16.3/24 interface=T2 network=10.0.16.0
add address=10.254.0.14 interface=LOBRIDGE0 network=10.254.0.14
add address=10.0.18.1/24 interface=wlan1 network=10.0.18.0
/ip dhcp-client
add comment="default configuration" dhcp-options=hostname,clientid disabled=no interface=T2AP1
/ip dhcp-server network
add address=10.0.18.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=10.0.18.1
/ip dns
set allow-remote-requests=yes servers=10.0.0.4,8.8.8.8
/interface vpls
add advertised-l2mtu=1508 disabled=no l2mtu=1508 mac-address=02:11:8D:27:1B:B6 name=VPLS-TO-A remote-peer=10.254.0.1 vpls-id=3:2
add advertised-l2mtu=1508 disabled=no l2mtu=1508 mac-address=02:9D:2D:56:71:75 name=VPLS-TO-B remote-peer=10.254.0.4 vpls-id=8:2
/mpls interface
set [ find default=yes ] mpls-mtu=1550
/mpls ldp
set enabled=yes lsr-id=10.254.0.14 transport-address=10.254.0.14
/mpls ldp interface
add interface=T2
add interface=wlan1
/routing ospf network
add area=backbone network=10.0.0.0/8
So, above I have the configs of Router A, p2p1, p2p2, Router B and AP-C
As explained before, vpls tunnel from A to C (what I want), does not work.
I create vpls tunnels from A [10.254.0.1] to B[10.254.0.4] and from B to C [10.254.0.14] as a test and they are running fine.
Any ideas?
Anyone have any ideas? I can provide additional info if requested. I really need to figure out why it’s not working. What’s more puzzling is that it works in two fragments but not straight through.
On your LDP interfaces try adding the transport address and specify the IP configured on that interface.
Hi, thanks for your answer. Can you be a bit more specific?
At the moment Transport address is set to the loopback address of the router in all three routers A, B and C. All loopback addresses are in routing table of all routers via ospf. I thought this was normal practice?
Bump? Anyone have any pointers?
Try checking the label switching tables, something is probably wrong there somewhere.
Be aware that single hops in mpls may not actually be label switched, so your multi hop scenario might be very different from your single hop test.