Community discussions

MikroTik App
 
User avatar
clambert
Member Candidate
Member Candidate
Topic Author
Posts: 120
Joined: Wed Jun 12, 2019 5:04 am

Layer-3 MPLS VPN

Fri Jul 02, 2021 11:42 pm

Hello,

I'm trying to establish an Layer-3 MPLS VPN. The configuration looks quite different from v6, but there is practically no documentation about it yet. I'm using a BGP route reflector in the network. Below is the configuration of interest
/ip vrf
add list=all name=VRF100
/routing bgp connection
add address-families=ip,vpnv4 as=64512 local.address=192.168.1.1 .role=ibgp-rr-client name=RR redistribute=connected,static remote.address=192.168.1.2 .as=64512 router-id=192.168.1.1
/routing bgp vpn
add export-route-targets=64512:100 import-route-targets=64512:100 label-allocation-policy=per-vrf route-distinguisher=64512:100 vrf=VRF100
I am not being able to receive the routes connected to the router at the other end in VRF100. Is there an error in the configuration? Is this feature not yet available in v7.1beta6?

Thanks in advance.
 
mada3k
Long time Member
Long time Member
Posts: 682
Joined: Mon Jul 13, 2015 10:53 am
Location: Sweden

Re: Layer-3 MPLS VPN

Sun Jul 04, 2021 3:16 pm

MPLS support is not ready yet ?
 
User avatar
clambert
Member Candidate
Member Candidate
Topic Author
Posts: 120
Joined: Wed Jun 12, 2019 5:04 am

Re: Layer-3 MPLS VPN

Mon Jul 05, 2021 2:23 pm

I understand that it is available from release 7.1beta5:
!) enabled initial MPLS support (CLI only);
Also, the system shows MPLS label assignment.
 
User avatar
StubArea51
Trainer
Trainer
Posts: 1739
Joined: Fri Aug 10, 2012 6:46 am
Location: stubarea51.net
Contact:

Re: Layer-3 MPLS VPN

Thu Jul 08, 2021 3:26 pm

How many routers are you testing with? Is LDP running between routers for label exchange?
 
User avatar
clambert
Member Candidate
Member Candidate
Topic Author
Posts: 120
Joined: Wed Jun 12, 2019 5:04 am

Re: Layer-3 MPLS VPN

Thu Jul 08, 2021 9:08 pm

The lab is made up of 3 mesh-connected routers. One of these routers acts as a VPNV4 route reflector. Client networks are connected on the other two routers. LDP is configured and there is output for the mpls/ldp/local-mapping and mpls/ldp/remote-mapping commands (there is no command in v7 to verify LDP neighborhood).
 
User avatar
clambert
Member Candidate
Member Candidate
Topic Author
Posts: 120
Joined: Wed Jun 12, 2019 5:04 am

Re: Layer-3 MPLS VPN

Tue Aug 24, 2021 5:23 am

I have tried the recently released version 7.1rc1, but I still have problems receiving routes within a VRF. Has anyone been able to successfully test this functionality? Is there documentation on this topic for RouterOS v7?
 
User avatar
nichky
Forum Guru
Forum Guru
Posts: 1275
Joined: Tue Jun 23, 2015 2:35 pm

Re: Layer-3 MPLS VPN

Tue Aug 24, 2021 9:44 am

I will not run any of those protocol on v7.
Not for now.
I had case where i wasn't able to establish ospf between vlans.
So i learned the lesson :)
 
fflo
newbie
Posts: 46
Joined: Wed Jan 02, 2019 7:59 am

Re: Layer-3 MPLS VPN

Sat Sep 18, 2021 12:38 pm

Can confirm, that Layer-3 MPLS VPN does not work at least up to 7.1rc2.

This should be fixed soon, because Router OS v7 would offers many performance optimizations for BGP and Layer-3 routing + supports IPv6.
I have tried the recently released version 7.1rc1, but I still have problems receiving routes within a VRF. Has anyone been able to successfully test this functionality? Is there documentation on this topic for RouterOS v7?
 
mkamau
just joined
Posts: 5
Joined: Wed Mar 10, 2021 10:22 am
Location: nairobi, kenya
Contact:

Re: Layer-3 MPLS VPN

Thu Nov 18, 2021 10:28 pm

Any update on this? trying out the same on v7.1rc6 and not receiving vrf routes between PE's .
 
User avatar
clambert
Member Candidate
Member Candidate
Topic Author
Posts: 120
Joined: Wed Jun 12, 2019 5:04 am

Re: Layer-3 MPLS VPN

Sat Dec 04, 2021 5:38 am

I have tried again on RouterOS 7.1, but I can't get it to work.
 
User avatar
nichky
Forum Guru
Forum Guru
Posts: 1275
Joined: Tue Jun 23, 2015 2:35 pm

Re: Layer-3 MPLS VPN

Sat Dec 04, 2021 7:14 am

How about v6, does it work well?
We need to wait...stil is beta version
 
User avatar
clambert
Member Candidate
Member Candidate
Topic Author
Posts: 120
Joined: Wed Jun 12, 2019 5:04 am

Re: Layer-3 MPLS VPN

Sat Dec 04, 2021 5:00 pm

How about v6, does it work well?
We need to wait...stil is beta version
Yes, we are using this feature in production in RouterOS v6.
 
TheNetworkBerg
just joined
Posts: 15
Joined: Mon Sep 30, 2019 9:50 am

Re: Layer-3 MPLS VPN

Sun Dec 05, 2021 4:31 pm

Big oof, I've been trying to figure this out for the last couple of days myself. If I figure something out I'll also post here, though I am not seeing RDs actually being sent over the MPLS.
 
buset1974
Frequent Visitor
Frequent Visitor
Posts: 86
Joined: Wed Sep 13, 2006 12:12 pm
Location: Jakarta

Re: Layer-3 MPLS VPN

Tue Dec 07, 2021 7:00 am

I also have the same experience, all the MPLS setup on v6 cannot run on v7.1
I think it's still bugs or under development.

before we activate MPLS , the OSPF running well. (all the loopback can ping each other)
but after MPLS module start, all the routing went crazy, some of the loopback cannot ping each other after that.


thx
 
zeusadm
just joined
Posts: 7
Joined: Wed Jul 18, 2018 12:34 pm

Re: Layer-3 MPLS VPN

Fri Jan 14, 2022 11:35 am

anyone been able to solve the problem?
 
ctodd2
just joined
Posts: 1
Joined: Mon Jan 24, 2022 9:51 pm

Re: Layer-3 MPLS VPN

Mon Jan 24, 2022 10:15 pm

I've opened a support ticket and I'll post here if I get a response. I haven't found anywhere to add the route distinguishers, and import/export targets.
EDIT:
This was the response I got:
Route distinguisher and route targets are part of th eBGP config:
https://help.mikrotik.com/docs/pages/vi ... ng/bgp/vpn
 
User avatar
clambert
Member Candidate
Member Candidate
Topic Author
Posts: 120
Joined: Wed Jun 12, 2019 5:04 am

Re: Layer-3 MPLS VPN

Fri Jan 28, 2022 4:44 am

Can confirm, that Layer-3 MPLS VPN does not work at least up to 7.1rc2.

This should be fixed soon, because Router OS v7 would offers many performance optimizations for BGP and Layer-3 routing + supports IPv6.
I have tried the recently released version 7.1rc1, but I still have problems receiving routes within a VRF. Has anyone been able to successfully test this functionality? Is there documentation on this topic for RouterOS v7?
Have you been able to get Layer-3 MPLS VPN working?
 
zeusadm
just joined
Posts: 7
Joined: Wed Jul 18, 2018 12:34 pm

Re: Layer-3 MPLS VPN

Thu Feb 03, 2022 9:07 am

i made configuration with two routers, config in attachments. after this configuration i can ping from R1 to R2. ping 22.22.22.1 src-address=11.11.11.1 vrf=vrf1 and vise versa R2->R1 ping 11.11.11.1 src-address=22.22.22.1 vrf=vrf1
version 7.2RC1, configuration made in EVE NG environment
You do not have the required permissions to view the files attached to this post.
 
User avatar
clambert
Member Candidate
Member Candidate
Topic Author
Posts: 120
Joined: Wed Jun 12, 2019 5:04 am

Re: Layer-3 MPLS VPN

Thu Feb 03, 2022 2:23 pm

i made configuration with two routers, config in attachments. after this configuration i can ping from R1 to R2. ping 22.22.22.1 src-address=11.11.11.1 vrf=vrf1 and vise versa R2->R1 ping 11.11.11.1 src-address=22.22.22.1 vrf=vrf1
version 7.2RC1, configuration made in EVE NG environment
This is great news. I'm going to test in my lab with 7.2rc1.
 
zeusadm
just joined
Posts: 7
Joined: Wed Jul 18, 2018 12:34 pm

Re: Layer-3 MPLS VPN

Thu Feb 03, 2022 2:35 pm

also i test this configuration on 7.1.1, it's working
 
User avatar
clambert
Member Candidate
Member Candidate
Topic Author
Posts: 120
Joined: Wed Jun 12, 2019 5:04 am

Re: Layer-3 MPLS VPN

Sat Feb 26, 2022 5:42 am

i made configuration with two routers, config in attachments. after this configuration i can ping from R1 to R2. ping 22.22.22.1 src-address=11.11.11.1 vrf=vrf1 and vise versa R2->R1 ping 11.11.11.1 src-address=22.22.22.1 vrf=vrf1
version 7.2RC1, configuration made in EVE NG environment
This is great news. I'm going to test in my lab with 7.2rc1.
I was able to verify that it works correctly for a two router setup. However, it doesn't work correctly in a scheme with route reflector (routes continually appear and disappear in the output of the /routing/route print command).
 
User avatar
GeorgeArgiriou
just joined
Posts: 3
Joined: Tue Nov 05, 2013 2:43 pm
Location: Thessaloniki, Hellas
Contact:

Re: Layer-3 MPLS VPN

Tue Mar 22, 2022 2:05 pm

Hello,
we tried to implement l3vpn using the proposed design with R1 , R2 configs that shared above.
We used both RR peering and direct ibgp sessions. Both of them failed.
We are using 7.1.3 and the ibgp peers are not directly connected.
Neverheless, mpls ldp and l2vpns are working well.
Does anyone has any officila feedback from mikrotik regarding l3vpn?
Does any of you can share any guide to implement this in v7.1.3 ?

Who is online

Users browsing this forum: No registered users and 27 guests