08-27-2009 11:37 AM
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
192.168.100.0/24 (R6) --ospf-- (R4) --BGP-- (R5) --ospf-- (R7) 192.168.200.0/24
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.
Thanks,
Mike
08-27-2009 12:29 PM
R6 - running Multi-VRF (VRF-Lite)
router ospf 30 vrf POS
log-adjacency-changes
network 192.168.0.0 0.0.255.255 area 0
try adding 'capability vrf-lite' to the ospf process on R6
and maybe also ad RD to the VRF?
08-27-2009 12:30 PM
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.
HTH
Laurent.
08-27-2009 12:51 PM
Thank you both for the response! That was it. It's working fine now.
Mike
08-31-2009 12:55 AM
111
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: