09-06-2011 04:07 AM - edited 03-04-2019 01:30 PM
All experts
I am facing weired issue with static and BGP routing.One of our remote location is having multiple links from different providers.
one link with static and other with BGP.we have put default static route but still BGP route has been preferred.
Even after clearing the BGP routes manually ,routing table takes the BGP routes
Once we shut down the BGP connectivity ,the router learn all routes by STATIC
what could be the problem
Any solution will be appreciated
with regards
mayuresh
09-06-2011 04:12 AM
Hi,
If the same prefix/length is advertised by a static route and by eBGP then static route should take precedence as the AD is 1 versus 20 for eBGP. can you post your sh ip route static as well as sh ip route
Regards.
Alain.
09-06-2011 09:00 AM
A default static route will be used as last resort. BGP is providing you with specific subnets/networks and those will be used before using a default route. If you want the statics to be used, you need to add those subnets/networks as static or block the subnets from being learned via BGP.
Regards,
Edison
09-06-2011 11:31 PM
Thanks edison
It did worked the way you suggested
with regards
mayuresh
09-08-2011 07:23 AM
Please mark the thread as resolved.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide