MPLS VPN Extranet Route Leaking


(Rene Molenaar) #1

This topic is to discuss the following lesson:


(Mohammad Hasanuz Zaman) #2

Hi Rene,

If I want to Communicate RED-CE1 to BLUE-CE1 and RED-CE2 to BLUE-CE2 then have to configure like the way you described in your lesson https://networklessons.com/cisco/ccie-routing-switching-written/vrf-lite-route-leaking/ . Right ???

Br//zaman


(Rene Molenaar) #3

Hi Zaman,

If you don’t use MPLS then you can use VRF lite route leaking yes. If you do use MPLS, use MPLS VPN extranet route leaking.

Rene


(Ray J) #4

Hello Rene,

Can we just use the existing RT for exporting/importing vrf routes ? Would this config work?

PE1#show run | begin ip vrf
ip vrf BLUE
 rd 2:2
 route-target export 2:2
 route-target import 2:2
 route-target import 1:1
!
ip vrf RED
 rd 1:1
 route-target export 1:1
 route-target import 1:1
 route-target import 2:2

PE2#show run | begin ip vrf
ip vrf BLUE
 rd 2:2
 route-target export 2:2
 route-target import 2:2
 route-target import 1:1
!
ip vrf RED
 rd 1:1
 route-target export 1:1
 route-target import 1:1
 route-target import 2:2

(Rene Molenaar) #5

Hi Ray,

Yes, that would work just fine.

Rene


(Nikhil M) #6

Why are the OSPF routes showing as IA route when all domain ID and area seems to be the same for the same customer?


(Lazaros Agapides) #7

Hello Nikhil

When using OSPF in such a situation, the process ID plays a role in how learned OSPF routes are interpreted by CE devices. Specifically, the domain and process IDs affect the type of OSPF routes in the following way:

OSPF with unique process = O IA
OSPF with different process = O E2
OSPF with unique Process ID but different domain ID = O E2
OSPF with different process ID but unique domain ID = O IA

I hope this has been helpful!

Laz