03-27-2014 05:04 AM - edited 03-04-2019 10:40 PM
Hi all,
I have been creating a GNS3 lab for MPLS VPN and I have the whole thing working end-to-end except that I can't get the PE to redistribute OSPF into BGP
As far as I can see I am doing this correctly but the only network that is redistributing across the WAN is the directly connected network between the CE and PE!
Same for both sides so if we can get PE1 side working I can just mirror the cfg for PE2
I have attached the GNS topology drawing and configs
Please let me know if you need anything more
Thanks in advance
Mitchell
03-27-2014 05:32 AM
Could you put:
network 10.0.1.1 0.0.0.0 area 0
under "router ospf 10 vrf RED"
On PE1 router offcourse...
Also check same thing on PE2 please...
HTH,
Dragan
03-27-2014 06:19 AM
Hi Dragan,
It isn't the network statement as this is covered by the OSPF configuration on the fa1/0 interface itself.
I have however resolved the issue......
If interested I had to add the following to the PE routers:
PE2(config)#router bgp 65000
PE2(config-router)#address-family ipv4 vrf RED
PE2(config-router-af)#redistribute ospf 10 match external
Previously I didn't have the "match external" keywords
Cheers for the input
Mitchell
03-27-2014 06:21 AM
Yea great...I missed that - you did redistributed loopbacks in OSPF and they are showing as E2 by default
Great work...
HTH,
Dragan
03-27-2014 06:43 AM
Aha... I see why I had to add the "external keyword now"
I have done the following on the CE:
CE1(config)#router ospf 1
CE1(config-router)#no redistribute connected subnets
CE1(config-router)#network 192.168.1.0 0.0.7.255 area 0
I have don the following on the PE:
PE1(config)#router bgp 65000
PE1(config-router)#address-family ipv4 vrf RED
PE1(config-router-af)#$10 vrf RED match internal external 1 external 2
PE1(config-router-af)#redistribute ospf 10
And this has worked how I was planning from the start - All vrf RED routes redistributed from the CE OSPF showing as standard OSPF O routers and not extenal as before.
Thanks for the insight Dragan, much appreciated
Mitchell
03-27-2014 06:46 AM
Yes that's the reason behind "external"...great...keep up with good labs
BR,
Dragan
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: