?
Solved

IP SLA Failover problems

Posted on 2010-11-24
4
Medium Priority
?
1,361 Views
Last Modified: 2012-06-21
Hello

we have 2 internet lines,
The main line is a satellite and the backup line is (2xT1)
I am trying to configure IP SLA so if the main line is down it will switch to the backup automatically.
i tried the attached code:

 
ip sla 1
icmp-echo 4.2.2.1 source-ip (main interface)
frequency 5
timeout 1000
threshold 250
ip sla schedule 1 life forever start-time now

!
ip sla 2
icmp-echo 8.8.8.8 source-ip (main interface)
timeout 1000
threshold 250
ip sla schedule 2 life forever start-time after 00:00:30
!

track 1 rtr 1 reachability
track 2 rtr 2 reachability

!

track 3 list boolean or     

object 1
object 2

!
ip route 0.0.0.0 0.0.0.0 (main interface)track 3
ip route 0.0.0.0 0.0.0.0 (backup interface)100
ip route 4.2.2.1 255.255.255.255 (main interface) permanent
ip route 8.8.8.8 255.255.255.255 (main interface) permanent

!
event manager applet Main-line-down
event track 3 state down
action 1.1 cli command "en"
action 1.2 cli command "conf t"
action 1.3 cli command "int g0/0"
action 1.4 cli command "shut"

Open in new window



it works great however both conditions object 1 and 2 are failing several times a day and the backup connects. The main line is not really down, and if you run "sh track ..."  the reason code for beign down is time out.


I would appreciate the advice

Thanks

0
Comment
Question by:Yucel Altingoz
  • 3
4 Comments
 
LVL 79

Expert Comment

by:lrmoore
ID: 34210131
The route statements are confusing to me.
are you using next-hop ip addresses, or interface names for the route?


0
 

Author Comment

by:Yucel Altingoz
ID: 34210141
I'm using next hop ip addresses
0
 

Accepted Solution

by:
Yucel Altingoz earned 0 total points
ID: 34876795
no solution was provided
0
 

Author Closing Comment

by:Yucel Altingoz
ID: 34904907
No solution was provided
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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.

Join & Write a Comment

Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
In short, I will be giving a guide on how to install UNMS on a virtual machine in hyper-v and change the default port for security (you don’t need to have a server, since Windows 10 supports hyper-v)
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

590 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question