08-26-2015 03:18 AM - edited 03-05-2019 02:09 AM
Hello
I have peering with two ISPs and i am receiving full routing table + default route with ISP 1 and partial routing table with ISP 2 2.1L routes + default route.
Last week, ISP 1 was down, i am using route-maps with as path prepend for network advertisements to receive traffic on ISP 2. But i have observed a problem with few destinations, some on my clients have complained that they are unable to reach internet and when i check in the router and issue Sh ip route mail.yahoo.com or some domains.
Its say network not in the routing table.
What could be the problem,even with partial routing table as i have a default route to ISP2. I shouldnt be having issues. But when i removed the neibour filter and received full routes from ISP2. Then it is working fine
Can anyone tell me, what could be the reason and what i have to do during that time.
09-03-2015 05:34 AM
Hello Viswa,
If my understanding is correct you have a static route in every device in your network pointing toward the edge router, if that's so you can safely remove the static route on the edge router but please do so under a maintenance window in case you faced an outage and you need to roll back.
What I believe is happening is this:
1- In normal cases "both ISPs are up", you have two static default routes pointing toward both ISPs, your traffic is load shared between your ISPs, you are not using the BGP default routes.
2- In case of a failure in either ISP, your router continues to use the static default routes, unaware of the failure, even though one of your ISPs is down causing some of your traffic to get dropped. In a previous post you said removing the route map or the as-path access list solves the problem, this is because now you are getting the full BGP table, and your router does not need to use the default route because a more specific route already exists, that is why the problem gets solved.
To solve this problem, I suggest using the BGP default route instead you can do so by removing the static default routes.
As for your second question, about using OSPF to distribute a default route to the rest of the domain to replace the static route toward the edge router, Yes, you can do so, for that I suggest using this command under the OSPF config of the edge router.
default-information originate
for example:
edge-router(config)#router ospf 1
edge-router(config)#default-information originate
This command would generate a default route to the rest of the domain with one condition, you already have a default route in the routing table by other means like a BGP default route, so for example if you lost your connection to both your ISPs you would no longer have a default route in your routing table, at that time OSPF would stop advertising the default route to the rest of the domain.
When your connection to either ISP is recovered a default route appears again in the edge router and OSPF start to readvertise the default route again.
All the best!
09-03-2015 07:57 AM
Thanks alot Ahmed for your informative replies and saved a lot of time in search & research :-)
I am setting up a GNS3 lab and will test these options.
Thanks once again...
09-03-2015 11:35 AM
Hello Viswa,
Thank you so much for your kind words, using GNS3 is a great idea, All the best!
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