08-09-2012 07:23 AM - edited 03-04-2019 05:13 PM
Greetings,
We're currently using IP SLA to determine route availability. The way it should work is if an IP address can be reached (ICMP), then static route A is used. If not, then static route B is used. See the code below.
ip sla monitor 1
type echo protocol ipIcmpEcho 10.50.50.1 source-interface FastEthernet0/0.10
ip sla monitor schedule 1 life forever start-time now
track 1 rtr 1 reachability
ip route 10.10.1.0 255.255.255.0 10.20.102.125 track 1
ip route 10.10.1.0 255.255.255.0 10.20.128.16 4
ip route 10.50.50.1 255.255.255.255 10.20.102.125 permanent
ip route 10.50.50.1 255.255.255.255 10.20.128.16
The problem is that it's not failing over to the 2nd static route.
The end result is that we should point traffic to the 10.10.x.x network. Our vendor has provided an address on the 10.50.50.x network to use for purposes of route selection.
Thanks for your thougths.
Chris
08-09-2012 07:55 AM
I honestly believe you should not use the "permanent" option. If you want to give priority to one rather than the other you should just change the AD
Alessio
08-09-2012 08:13 AM
Forgot to edit that out of this post. We removed the "permanent" option.
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