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?
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
10-08-2018 05:05 AM
any sample config?
10-08-2018 07:41 AM
Hello
sample config regards what?
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
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.
10-10-2018 01:21 AM
What is the command to monitor the active interface and the sla timer?
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
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