Solved

Cisco IP SLA Tracking not recovering (not coming back up)

Posted on 2014-04-26
11
1,448 Views
Last Modified: 2014-04-30
Hi there, I'll try to keep this short and sweet.  I am trying to set up redundant default (static) routes out of my network.  I have x2 routers each with an internet connection to the ISP (O2 broadband) and static WAN addresses.  Simple diagram attached.

The main issue I have however is that I don't know the next hop IP address of my ISP, and if I do a traceroute both routers return the same next hop (which is probably correct as both lines go back to the same telephone exchange).

I'm focusing on R1 at the moment.  I have added the following config:

track 1 ip sla 1 reachability
ip sla auto discovery
ip sla 1
 icmp-echo 4.2.2.2 source-interface Dialer0
 frequency 5
ip sla schedule 1 life forever start-time now
!
ip route 0.0.0.0 0.0.0.0 Dialer0 5 track 1
ip route 0.0.0.0 0.0.0.0 11.0.0.2 10


At the mo, a "show ip route" returns the following:

S*    0.0.0.0/0 is directly connected, Dialer0

If I shut down ATM 0 on R1 track 1 goes DOWN as it should do and the second static route becomes active:

S*    0.0.0.0/0 [10/0] via 11.0.0.2

So far so good.  The issue is that when I "no shut" ATM 0 track 1 doesn't come back up.  The second route stays in the routing table and I have to manually enter the following command to restore R1's primary route (ip route 0.0.0.0 0.0.0.0 di0).  Before I re-enter the static route to bring track 1 back UP I've done some checks:
interface dialer0 is UP/UP.  It has an IP address and is happy (we even have some GRE tunnels out of R1 Di0 to other sites that come up).  It seems to be that interface Di0 doesn't know what route to take to check connectivity to 4.2.2.2

OSPF is running across these routers so once I had got the static routes working I was going to look at redistributing them into OSPF.

Any help would be much appreciated.

Cheers, Andy
Picture1.jpg
0
Comment
Question by:andrewprouse
  • 3
  • 3
  • 2
  • +2
11 Comments
 
LVL 11

Expert Comment

by:Miftaul
ID: 40024302
Can you change the second static route with its exit interface.
0
 
LVL 6

Expert Comment

by:Hassan Besher
ID: 40024483
icmp-echo 4.2.2.2 source-interface Dialer0

Try to replace Dialer0 with your LAN Interface, and how it goes!
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 40024557
did you Nail 4.2.2.2 to the dialero interface?

e.g.

ip route 4.2.2.2 255.255.255.255 Dialer0 permanent
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 12

Accepted Solution

by:
Infamus earned 500 total points
ID: 40024803
Try this.

track 1 ip sla 1 reachability
 delay down 20

ip sla 1
 icmp-echo 4.2.2.2
ip sla schedule 1 life forever start-time now
ip sla enable reaction-alerts

ip route 0.0.0.0 0.0.0.0 Dialer0 5 track 1
ip route 0.0.0.0 0.0.0.0 11.0.0.2 10
ip route 4.2.2.2 255.255.255.255 Dialer0
0
 

Author Comment

by:andrewprouse
ID: 40024945
Hi guys,

Thank you for your replies.  I tried all suggestions and the resolution seems to be a mixture (mainly PeteNetLive's suggestion).

My only gripe now however is that the only route to 4.2.2.2 is through Di0, if Di0 is down and all internet traffic is heading though R2, nor the router or LAN users will be able to ping / access 4.2.2.2

Is there a way around this, or is there another reliable public IP that I could use for this tracking SLA? (not Google).

Cheers, Andy
0
 
LVL 6

Expert Comment

by:Hassan Besher
ID: 40024992
what if you do  the same here for 4.2.2.2:

ip route 4.2.2.2 255.255.255.255 11.0.0.2 20
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 40025037
Use

8.8.8.8


P
0
 
LVL 12

Expert Comment

by:Infamus
ID: 40025066
Why would the users need to be able to ping 4.2.2.2?

It's one of the level 3 communication's DNS server.
0
 

Author Comment

by:andrewprouse
ID: 40032417
Hassan - If I use your suggested command then I believe this will do one of two things:
  1) give an alternative route to 4.2.2.2 which will bring the SLA back up without Di0 being active.
   2) not be used.  If the Di0 WAN link is broken at the exchange, but the Di0 interface is still UP/UP, the secondary route (your command) will never be used.  I don't think.

PeteLong - We use 8.8.8.8 & 8.8.4.4 as DNS forwarders from our internal DNS servers

Infamus - I have got into the habit of using 4.2.2.2 as an 'internet connectivity test'. In a year or so's time I will have forgotten about this SLA rule and 4.2.2.2 route therefore if the Di0 WAN connection has failed over I will not be able to ping 4.2.2.2
0
 
LVL 12

Expert Comment

by:Infamus
ID: 40032570
4.2.2.1 is also available
0
 

Author Closing Comment

by:andrewprouse
ID: 40032745
thank you very much.  This was the solution (mainly the final command forcing all traffic to 4.2.2.2 through Di0).

I also changed the icmp-echo to 4.2.2.1 as per the final comment.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
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…

776 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