BGP to OSPF redistribution with VRFs

Unanswered Question
Aug 27th, 2009

I am having a problem with redistribution of routes between BGP and OSPF when using VRFs mapping to VLANs between the PE and CE.

In this lab I've put together I have R4 and R5 communicating with eachother via BGP with MPLS. If I redistribute the BGP into OSPF and delivering the connection to the CE without VLANs it works fine. If I want to essentially keep the same primary network going into the other side of the BGP but send the VRF over a VLAN to the next router the redistribution doesn't happen.

In this example I have (R6) --ospf-- (R4) --BGP-- (R5) --ospf-- (R7)

Between R4 and R5 is the core network running ospf (R1 - R3).

Can anyone point me in the right direction why this isn't working? I am obviously missing something here.



I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
jon.harald.bovr... Thu, 08/27/2009 - 12:29

R6 - running Multi-VRF (VRF-Lite)

router ospf 30 vrf POS


network area 0

try adding 'capability vrf-lite' to the ospf process on R6

and maybe also ad RD to the VRF?

Laurent Aubert Thu, 08/27/2009 - 12:30

Hi Mike,

You need to add capability vrf-lite under ospf process of R6 and R7 because they are configured with VRF-lite. This command will disable the check usually done on the PE to avoid routing loops.




This Discussion