Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

IP SLA Failover problems

Posted on 2010-11-24
4
Medium Priority
?
1,335 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Plug and play, no additional software required!

The ATEN UE3310 USB3.1 Gen1 Extender Cable allows users to extend the distance between the computer and USB devices up to 10 m (33 ft). The UE3310 is a high-quality, cost-effective solution for professional environments such as hospitals, factories and business facilities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Description:   Couple of months ago we upgraded the ADSL line at our branch office from Home to Business line. The purpose of transforming the service to have static public IP’s. We were in need for public IP’s to publish our web resour…
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
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…

721 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