• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1346
  • Last Modified:

IP SLA Failover problems

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
Yucel Altingoz
Asked:
Yucel Altingoz
  • 3
1 Solution
 
lrmooreCommented:
The route statements are confusing to me.
are you using next-hop ip addresses, or interface names for the route?


0
 
Yucel AltingozAuthor Commented:
I'm using next hop ip addresses
0
 
Yucel AltingozAuthor Commented:
no solution was provided
0
 
Yucel AltingozAuthor Commented:
No solution was provided
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now