cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
664
Views
0
Helpful
7
Replies

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

getaway51
Level 2
Level 2

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? 

7 Replies 7

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

any sample config? 

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

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

 

Alan Ng'ethe
Level 3
Level 3

Or you can use ip sla, like this

 

 

sla.PNG

 

That way, when 10.1.1.1 goes down, after a certain period traffic begins to be sent to 10.1.1.2.  

Remember to rate helpful posts and/or mark as a solution if your issue is resolved.

What is the command to monitor the active interface and the sla timer? 

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
Review Cisco Networking for a $25 gift card