cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2559
Views
0
Helpful
6
Replies

IP SLA - Tracked route not being placed in routing table

nikalleyne
Level 1
Level 1

Guys,

I'm not sure what I'm missing here. However, I have IP trying to setup IPSLA in a LAB environment. While I got it to work before I'm not sure what I'm missing now that is preventing it from working the way I expect it to. Basically my problem is the default tracked route is not being put into the routing table. If I take the tracking off (e.g. 0.0.0.0 0.0.0.0 192.168.0.1) that works. However, if I do 0.0.0.0 0.0.0.0 192.168.0.1 track 35, the route does not enter the table. All interfaces are up and without the tracking I can ping the default gateway.

ip sla 35

icmp-echo 192.168.2.8 source-ip 172.30.0.1

threshold 2

frequency 5

ip sla schedule 35 life forever start-time now

track 35 rtr 35 reachability

ip route 0.0.0.0 0.0.0.0 1.0.0.1 track 35

Can anyone see what I'm missing here

6 Replies 6

rizwanr74
Level 7
Level 7

Hi there,

Please change this line "track 35 rtr 35 reachability" to one shown  below.

track 35 ip sla 35 reachability

and if you are running routing-protocol please make sure that you have redistrubuting static-route

Hope that helps.

Thanks

Rizwan Rafeek

Hi Rizwan,

Interestingly the image I'm using 12.4(15) T6 does not allow me to do that. The only option under Track 35 ip is "route"

I'm not using any routing protocols, this is 1 router connected directly to 2 ISPs

Cisco IOS Software, 2600 Software (C2691-ADVIPSERVICESK9-M), Version 12.4(15)T6, RELEASE SOFTWARE (fc2)

Hi Nikalleyne,

I found this link below from Cisco doc, which explain step by step method of default-route failover between two ISP, one as primary and other as a backup.

http://www.cisco.com/en/US/tech/tk364/technologies_configuration_example09186a0080211f5c.shtml

Please follow the link.

Hi Rizwanr

I will look at this doc and try to see if I get my solution to work in the lab. I will reply once I've completed it.

Thanks for the assistance.

make and copy paste here

sh ip route

sh track

ping 192.168.2.8 sou 172.30.0.1

Vivek Ganapathi
Level 4
Level 4

Hello Again,

I was just going through this post. I would suggest to add a static route to ip route 192.168.2.8 255.255.255.255 . This route must always point to the primary path. If there is a failure (primary path), this IP will not be reachable (A thing to note). So, the best idea would be to probe an IP which is not required to be reachable post-failure. Idea would be a loopback (which must not be a management IP). By having the mentioned static route, whenever the primary link is reinstated, entire traffic failback to your primary path. Without this, IP SLA would never come to know of the availability of your primary link.