LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-25-2007, 08:55 PM   #1
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Rep: Reputation: 30
Dual WAN failover


I know howto setup this thing, the problem is when one of my WAN is down the other doesnt come up and i think for it to come up i have to ping the WAN gateway and do some sort of coding in shell or perl whatever i know this much hehe. The sad part is that i dunno how to code i hate coding lol could somone help me out. I just need code for Failover Dual WAN not even for load balancing.

i ahve added both the gateways (of 2 WANs) using the command

ip route add default via <WAN1 ip> dev eth1
ip route add default via <WAN2 ip> dev eth2

if WAN1 is down WAN2 comes up, but WAN1 then never comes up automatically, how do i automatically make it active??
 
Old 12-26-2007, 12:06 AM   #2
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Original Poster
Rep: Reputation: 30
Never mind i made up my own script!! Yes i made it lol took me 3 hours though But the brighter part i made heheh LQ is always an inspiration for me to do things Thanks guys.
 
Old 07-16-2010, 08:22 AM   #3
lr_vinod
LQ Newbie
 
Registered: Jul 2010
Posts: 1

Rep: Reputation: 0
Hi

Iam also in need to configure WAN fail over.i.e if one WAN link goes down then th other WAN link becomes my primary.can you share across your script?

-vinod
 
Old 07-16-2010, 09:26 AM   #4
landysaccount
Member
 
Registered: Sep 2008
Location: Dominican Republic
Distribution: Debian
Posts: 188

Rep: Reputation: 18
Take a look a this how to: http://blog.taragana.com/index.php/a...ions-on-linux/. It may give you an idea on how to do it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Useful Dual WAN script Antimatter Linux - Networking 5 06-25-2010 02:08 AM
Dual Port FC HBA failover on Debian? _phenix_ Linux - Server 5 11-13-2007 11:36 AM
Setup Dual nics for load balancing/failover thistleair Linux - Networking 4 05-11-2005 03:15 PM
FreeS/Wan Vs. OpenS/Wan Vs. StrongS/Wan bkankur Linux - Security 1 03-01-2005 10:27 AM
Dual WAN Config Problem h8trix Linux - Networking 1 10-03-2004 03:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration