Cisco 3560 Layer 3 Switch - mutiple IP routes?

I am able to add the following to my Cisco 3560 Switch:

ip route
ip route 100

This makes me think should connection be lost to x.101 then traffic should be sent to x.102.  This does not happen.


Adam DIT Solutions DeveloperAsked:
Who is Participating?
Don JohnstonConnect With a Mentor InstructorCommented:
There's a bit more to do. You've identified the object, but not what to do if it's unreachable.

Here's the second part.
Zephyr ICTCloud ArchitectCommented:
Don JohnstonInstructorCommented:
Your failover approach would only work if each route used a different interface. Even then, the failover would only work if the failure was detectable (interface state changed).

As it is, object tracking (SLA) is your best choice.

Here's another guide: Reliable Static Routing Backup Using Object Tracking
Adam DIT Solutions DeveloperAuthor Commented:
Thank you both.  I am looking into this option in more detail.  Here is what I have done so far:

ip sla 1
frequency 5
ip sla schedule 1 life start-time now forever

This, in theory, will ping (name server) every 5 seconds (just for testing purposes) and in theory if my primary route does not respond then it should go to the secondary route, right?

The switch is connected to two firewalls which are in turn connected to two separate ISP connections.  Each firewall has its own IP address. If the ISP goes down (not the firewall) then my intention is to allow the switch to send traffic to the alternate.

I pulled the internet connection on my primary but it did not "failover." What do you think I am missing?

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.