Community discussions

MikroTik App
 
konstantinJFK
newbie
Topic Author
Posts: 25
Joined: Wed Mar 08, 2017 3:44 pm
Location: Milan, Italy
Contact:

Can RouterOS do Inter-AS MPLS with Option A/B/C?

Wed May 10, 2017 10:20 am

Hello, Mikrotik guru!


Can RouterOS transfer MPLS Labels between AS?

This is a screenshot from simplified lab environment with border routers connected directly.

All "Router XX" is a mikrotik CHR routers and "Cisco XX" is a IOSv L3 Cisco Routers

Image


I can`t manage to transfer MPLS Labels from AS 65001 to AS 65002 by Mikrotik!

but it has been done on same lab (see screenshot) with cisco routers as Inter-AS MPLS L3VPN – Option C without any problems

Here is 3 options how it can be implemented in theory:

1. Inter-AS MPLS L3VPN – Option A – Back to Back VRF, I tried to implement it without success (example is here https://mellowd.co.uk/ccie/?p=3766 )
2. Inter-AS MPLS L3VPN – Option B – ASBR + VPNv4, unknown how to do in RouterOS (example is here https://mellowd.co.uk/ccie/?p=3783 )
3. Inter-AS MPLS L3VPN – Option C – BGP + Label, can`t be done for sure because BGP limitations in RouterOS ( example is here https://mellowd.co.uk/ccie/?p=3804 )

Based on my current experience It can be only done by external hardware (Cisco or Juniper)

Please share your knowledge!
Last edited by konstantinJFK on Wed May 10, 2017 10:44 am, edited 4 times in total.
 
User avatar
nichky
Forum Guru
Forum Guru
Posts: 1281
Joined: Tue Jun 23, 2015 2:35 pm

Re: Can RouterOS do Inter-AS MPLS with Option A/B/C?

Wed May 10, 2017 10:30 am

what did you get from thother side?
 
konstantinJFK
newbie
Topic Author
Posts: 25
Joined: Wed Mar 08, 2017 3:44 pm
Location: Milan, Italy
Contact:

Re: Can RouterOS do Inter-AS MPLS with Option A/B/C?

Wed May 10, 2017 10:36 am

Hi,

I am managing both AS and try to implement Inter-AS based on mikrotik to build L3VPNs between AS.

I updated screenshot so you can see that is a lab environment build on eve-ng

Guys,
I can share this lab with all settings to play with MPLS on your equipment
 
konstantinJFK
newbie
Topic Author
Posts: 25
Joined: Wed Mar 08, 2017 3:44 pm
Location: Milan, Italy
Contact:

Re: Can RouterOS do Inter-AS MPLS with Option A/B/C?

Sun May 14, 2017 1:23 am

Still no solution known... Anyone?
 
User avatar
nichky
Forum Guru
Forum Guru
Posts: 1281
Joined: Tue Jun 23, 2015 2:35 pm

Re: Can RouterOS do Inter-AS MPLS with Option A/B/C?

Sun May 14, 2017 3:36 am

From presentation,Tomas sad:
You do not have the required permissions to view the files attached to this post.
 
konstantinJFK
newbie
Topic Author
Posts: 25
Joined: Wed Mar 08, 2017 3:44 pm
Location: Milan, Italy
Contact:

Re: Can RouterOS do Inter-AS MPLS with Option A/B/C?

Sun May 14, 2017 11:24 am

From presentation,Tomas sad:
Thanks, nichky. When it was presented? Last mum in Milan?


UPD: This is old slide from 2013, that is not fully correct anymore.

L3VPN works fine within one AS
 
User avatar
nz_monkey
Forum Guru
Forum Guru
Posts: 2104
Joined: Mon Jan 14, 2008 1:53 pm
Location: Over the Rainbow
Contact:

Re: Can RouterOS do Inter-AS MPLS with Option A/B/C?

Mon May 15, 2017 8:40 am

That slide is semi-accurate.

L3VPN became usable with 6.2, e.g. Mikrotik fixed the L3VPN withdrawl bug. As for Route Leaking, it has always worked for us, Maybe Tomas was doing something different from us...

However there are still some major bugs in RouterOS v6 routing. e.g. BGP NLRI's are not sent when a route received via PE-CE BGP becomes active over a L3VPN received route.

These will not be fixed until we see "new routing" which will only appear in the next major RouterOS version, which unfortunately has no ETA :(
 
User avatar
nichky
Forum Guru
Forum Guru
Posts: 1281
Joined: Tue Jun 23, 2015 2:35 pm

Re: Can RouterOS do Inter-AS MPLS with Option A/B/C?

Mon May 15, 2017 11:11 am

did yoy try L3VPN on ospf? Does it work good? And aldo wich vOS are you recomending for that?

Thanks
 
User avatar
nz_monkey
Forum Guru
Forum Guru
Posts: 2104
Joined: Mon Jan 14, 2008 1:53 pm
Location: Over the Rainbow
Contact:

Re: Can RouterOS do Inter-AS MPLS with Option A/B/C?

Mon May 15, 2017 12:14 pm

@nichky

Do you mean OSPF as a PE-CE protocol in a VRF? If so, then yes, this works. However I would not reccomend it, L3VPN is flaky enough without adding another variable...
 
User avatar
StubArea51
Trainer
Trainer
Posts: 1739
Joined: Fri Aug 10, 2012 6:46 am
Location: stubarea51.net
Contact:

Re: Can RouterOS do Inter-AS MPLS with Option A/B/C?

Mon May 15, 2017 4:35 pm

If I remember correctly, inter AS MPLS will work as long as you enable BGP multi hop over OSPF and run LDP between the two peers. While this isn't the same solution you using with the Cisco routers, it should allow you to exchange labels.

Also, VRF leaking does work. We've built a number of production environments that rely on VRF leaking.
 
bergonz
just joined
Posts: 12
Joined: Fri Oct 16, 2015 3:01 pm

Re: Can RouterOS do Inter-AS MPLS with Option A/B/C?

Tue May 16, 2017 7:30 pm

Some time ago I had to connect a Mikrotik MPLS with a Cisco MPLS for VPNv4 service. I was not brave enough to even think about trying inter-as option B. I did read about the RouterOS difficulties in BGP PE-CE (or inter-as option a, which is basically the same), so I decided to use OSPF PE-CE as the choice I believed to be the safest.

It somehow works, but after a while I experienced an issue with duplicate routes in BGP, as I tried to discuss in viewtopic.php?f=14&t=121476

So I do not any more believe OSPF PE-CE to be a safe choice.

I would like to thank nichky, nz_monkey, IPANetEngineer and Tomas Kirnak for the insights.

I am now planning to migrate to vrrp + static routing (bleah!).

Regards,
Bergonz
 
konstantinJFK
newbie
Topic Author
Posts: 25
Joined: Wed Mar 08, 2017 3:44 pm
Location: Milan, Italy
Contact:

Re: Can RouterOS do Inter-AS MPLS with Option A/B/C?

Thu May 18, 2017 12:50 am

If I remember correctly, inter AS MPLS will work as long as you enable BGP multi hop over OSPF and run LDP between the two peers. While this isn't the same solution you using with the Cisco routers, it should allow you to exchange labels.
May I ask you to make more clear statement? The LDP do not pass over BGP because LDP nature. LDP can use IGP routing protocol only (OSPF or ISIS).

I tried to use separate OSPF instance for inter-AS connection in parallel with BGP connection but It was (a) wrong by design, (b) routes did not passed (c) it was just mess

What was your experience on that?

Who is online

Users browsing this forum: No registered users and 25 guests