07-04-2011 05:15 AM - edited 03-04-2019 12:52 PM
Hi everybody!
I'm trying to backup my primary WAN with secondary backup connection - 3G WAN through Cellular 0/0/0.
Point is that I need to track some external IP address on my primary interface, for examle 8.8.8.8. If it is not reacheable, then router brings up backup connection - 3G. This can be done by using dialer-watcher.
Simple.
But unfortunately my primary WAN interface is an FastEthernet, which is the coonected to a switch, switch to WAN . There is no dialer-watch commands on it. Thats sad .
So I came to you, to ask you abot how can it be "tricked"?
One more time :
WAN -> SWITCH -> ROUTER(WITH 3G HWIC and Fa 0/0 connected to switch).
Help is wellcome )
07-04-2011 05:37 AM
Hi Aleksei,
You may use IP SLA to track an object, in this case ipIcmpEcho to 8.8.8.8
Track the SLA, and apply the track to a static route pointing to the backup interface.
You can see a configuration example here:
http://www.cisco.com/en/US/partner/docs/ios/12_3/12_3x/12_3xe/feature/guide/dbackupx.html#wp1071672
Let me know if it helps
Marco
07-04-2011 05:57 AM
Hi Hi Aleksei,
I have the same scenario at one of my production site.
The primary is DSL and using 3G as backup.
Please find the below config which suits your scenario.
ip route 0.0.0.0 0.0.0.0 206.206.206.2
ip route 0.0.0.0 0.0.0.0 Cellular0 10
ip sla 1
icmp-echo 206.206.206.2 source-interface FastEthernet4
timeout 1000
threshold 2
frequency 3
ip sla schedule 1 life forever start-time now
HTH
Please click on the correct answer if this answered your question.
Regards,
Naidu.
07-04-2011 07:37 AM
Can I just throw in my two cents here:
I am using IP SLA's in my environment. I have two ISP's to watch in regards to connectivity. DSL interfaces are easy to watch, as the ATM interface is either up or down.
WAN over an interface is a bit trickier, as there are potentially two circumstances that could happen.
1/ The switch/router/interface that your interface is connecting to could die - meaning your connection would be down
2/ The interface on the next hop could go down which would be invisible to you as your interface would still be up yet your connection would be down.
I had to devise a system that would check for these instances are correct the routing table accordingly. I did this through numerous IP SLA's, but a very good feature of the Track objects (which, I don't think is given that much credit) is the boolean operation. You can program a Track object to boolean two other track objects. For instance:
I wanted the Track object 10 (which indicates whether or not my WAN over an ethernet interface is operational) to be noted as down IF either of these two track objects are down:
track 11 interface GigabitEthernet0/2 line-protocol <--- If the actual Interface dies (which encompasses a failing on the next hop)
AND
track 12 ip sla 12 reachability <---- if an ICMP ping operation failed due to a problem 1 hop down the line
delay down 60 up 10
!
In order to track both of these into one Track object I used the boolean operation:
track 10 list boolean and
object 11
object 12
!
This will report the Track object 10, as being down if either one of those circumstances were true. Put a static route into your routing table with the track object of 10:
ip route 0.0.0.0 0.0.0.0 MAIN_ISP 5 track 10
And you're sailing.
I hope this helps.
Tim
Rate if you find helpful.
07-07-2011 01:12 AM
Well, backup is working but not like i need it to work.
Thing is that command ip route 0.0.0.0 0.0.0.0 fastethernet 0/0 track track_name changes administrative distance for this route to 254.
I have tried to change it by entering command ip route 0.0.0.0 0.0.0.0 fastethernet 0/0 2 track track_name, but it didn't work, it is still 254.
At the same time ip route for cellular interface works fine. For this route i can change the administrative distance.
Any suggestions about how to change adm. dist. for the primary route?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide