dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
1231
share rss forum feed

erikthebean

join:2007-06-25
Manchester, NH

Wan failover on cisco 2620xm

Anyone know where i can look to set up wan failover on a 2620xm? I currently have the connections (Lan, 2 internet connections) going to a switch and they are all on separate vlans. I just want to set it up so incase my primary connection goes down it swaps over to the secondary connection. Thanks.


aryoba
Premium,MVM
join:2002-08-22
kudos:4

What Internet connection do you have? DSL? Cable Internet? T1? Or else?


erikthebean

join:2007-06-25
Manchester, NH

2 DSL one static, one dynamic.



tubbynet
reminds me of the danse russe
Premium,MVM
join:2008-01-16
Chandler, AZ
kudos:1
reply to erikthebean

look at ip-sla.

»www.cisco.com/en/US/docs/ios/12_···cmp.html

q.



Covenant
Premium,MVM
join:2003-07-01
England
reply to erikthebean

You have two options.

Option 1 is to use IP SLA with tracker as tubbynet See Profile advised you. It is a little bit more trickier especially when going out via a dialer interface but it is possible.

The second option is to use "ppp ipcp route default" under the primary dialer's interface which will install a default route with an AD of 1 and then use a "floating" static default route which points out via the secondary dialer with an AD of 250 or something similar.

Option 1:

Assuming dialer 1 is your primary interface and dialer 2 is your secondary, you need to implement the following commands:

!
ip sla 1
 icmp-echo 4.2.2.1 source-interface Dialer1
 timeout 1000
 frequency 2
ip sla schedule 1 life forever start-time now
!
!
track 1 ip sla 1 reachability
 delay down 5 up 5
!
!
ip route 4.2.2.1 255.255.255.255 Dialer1
ip route 4.2.2.1 255.255.255.255 Null0 250
ip route 0.0.0.0 0.0.0.0 Dialer1 track 1
ip route 0.0.0.0 0.0.0.0 Dialer2 250
!
 

Option 2:

Again, assuming that dialer 1 is your primary interface and dialer 2 is your secondary:

!
interface Dialer1
 ppp ipcp route default
!
ip route 0.0.0.0 0.0.0.0 Dialer2 250
!
 

Don't forget your NAT.

--
A word to the wise ain't necessary, it's the stupid ones who need the advice!

erikthebean

join:2007-06-25
Manchester, NH
reply to erikthebean

Thank you guys for your input. I did a mix of a couple of things.

»docwiki.cisco.com/wiki/NAT_failo···_Example

With

»www.inacom-sby.net/Shawn/post/20···ver.aspx

And I bumped the arp timeout to 5 seconds since i'm using Vlans for everything. Works really good, only about 5-10 seconds down time if the primary link goes down. And once it notices it again switches right back over in about 5-10 seconds.


Covenant
Premium,MVM
join:2003-07-01
England

That's great. So you don't have dialers at all. Was assuming that you were using PPPoE because of the VLANs but thank you for posting how you got on.

Hopefully the posts above will help someone else in the future.
--
A word to the wise ain't necessary, it's the stupid ones who need the advice!


HELLFIRE
Premium
join:2009-11-25
kudos:13
reply to erikthebean

Was going to suggest including OER as part of the config, but hey, whatever works for you.

Regards