I am trying to configure an IPV4 anycast ip address. Its basically anycast IP with just routing.
In Short: (topology shown below)
I have ip address 184.108.40.206 in an ospf area 0 and same ip address 220.127.116.11 in another ospf area0 but in different domain.
The edge routers R3 and R4 connect these areas by BGP. When advertise the routes from BGP to OSPF the routing table on R4 or R3 will take the BGP route as it AD is less than OSPF.
My goal is to have 18.104.22.168 on each of the routers R3/R4 routing table by OSPF and then if it fails I can use the BGP route..Is there any work around for these?
22.214.171.124<--OSPF-->R1<--OSPF-->R2<-OSPF--->R3 <--BGP--> R4<--OSPF-->R5<--OSPF-->R6<---->126.96.36.199
Hi,Instead of advertising 188.8.131.52/32, can you aggregate 184.108.40.206/30 on both R3/R4 to BGP? This way, you don't need to worry about the OSPF vs BGP AD, local learned /32 is always preferred.HTH,Lei TianSent from Cisco Technical Support iPhone App
I tried it and it didnt work. I think because BGP's AD is 20 and ospf is 110, so the AD will overcome the longest match for route selection..
Longer match is always prefered. What you have from 'show ip route 220.127.116.11'?
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: