switch has two default ip route.what happens when one router down

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2018 03:26 AM - edited 03-08-2019 04:19 PM
Hi,
I have switch with 2 ip routes. reason is because i have 2 router.
ip route 0.0.0.0 0.0.0.0 10.1.1.1
ip route 0.0.0.0 0.0.0.0 10.1.1.2
If 10.1.1.2 is down, will switch still sending traffic to 10.1.1.2?
- Labels:
-
LAN Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2018 04:07 AM - edited 10-08-2018 04:36 AM
Hello
@getaway51 wrote:
Hi,
I have switch with 2 ip routes. reason is because i have 2 router.
ip route 0.0.0.0 0.0.0.0 10.1.1.1
ip route 0.0.0.0 0.0.0.0 10.1.1.2
If 10.1.1.2 is down, will switch still sending traffic to 10.1.1.2?
Yes /No depending if the physical interface actually registers its link down otherwise the traffic will blackholed
Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.
Kind Regards
Paul

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2018 05:05 AM
any sample config?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2018 07:41 AM
Hello
sample config regards what?
Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.
Kind Regards
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2018 04:28 PM
Utilising a dynamic routing protocol instead of using hard coded static/default routes will help you find a resolution. Dynamic routing protocols will converge when a link/router goes down to find an alternative path for traffic and to avoid any failures. You can also manipulate these protocols to weight/favour links. This all depends on your situation of course..
Many Thanks
George

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2018 02:38 PM
Or you can use ip sla, like this
That way, when 10.1.1.1 goes down, after a certain period traffic begins to be sent to 10.1.1.2.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2018 01:21 AM
What is the command to monitor the active interface and the sla timer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2018 01:28 AM
Hello
If you wish to see sla details you can use:
sh ip sla statistics x - sla number optional
Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.
Kind Regards
Paul
