LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 11-03-2005, 02:41 AM   #1
enilder
LQ Newbie
 
Registered: Nov 2005
Posts: 1

Rep: Reputation: 0
failover with backup internet connection?


I'm trying to setup a simple router to provide failover connectivity. The main connection is via cable and the secondary being DSL. I setup two default routes with the DSL having a metric of 10, so that it goes back to the cable connection once it's back up.
I did echo 10 > /proc/sys/net/ipv4/route/gc_timeout, and it switches over to the DSL when I pull the network cable for the Cable connection. However, this takes a full 60 seconds befor I see a "Destination Unreachable" from ping, and then the 10 seconds (from gc_timeout) to switch to the backup route.

My question is: can I reduce this time from 60 seconds to something more preferable, like, 10 seconds?

Should I try bonding eth1 and eth2? I saw that you can set the MII Polling Interval in ms, but is this after the 60 seconds? I'm trying to get around whatever this 60 seconds is from. I don't know if this is part of the nic driver to wait 60 seconds before notifying the kernel the link is down. Even if that's the case, the phsyical link will be up during a normal scenerio. It's the connection between the cable modem and the ISP that goes down.
Hopefully I'm making sense. I've been racking my brain with this problem for so long that I can't even think straight.

Thanks in advance for any insight.
 
Old 11-04-2005, 07:47 PM   #2
lineman60
Member
 
Registered: Oct 2003
Location: New Mexico
Distribution: CentOS, Ubnutu,
Posts: 35

Rep: Reputation: 15
NIC teaming

The last time i did this was a while a go but, yes you do most likey want nic teaming. There are 2 types one also preforms load balancing in is Cisco fast Ethernet propitiatory (must be both on CISCO switch and have supported nic/OS).
The other what you want is more of a fail over. I cant think of the name, but there are several good walk thrughs
one by dell

http://www1.us.dell.com/content/topi...555&l=en&s=biz

and one by HP

http://forums1.itrc.hp.com/service/f...hreadId=941305

it is not to difficult, the short and sweet

1) shut down network services
2) add config files that give them the same ipaddress
3) restart networking
 
  


Reply



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
Making backup through ssh connection Supernoobs Linux - General 1 11-17-2005 12:09 PM
mysql - backup without connection muesli Linux - Software 1 07-01-2005 07:25 AM
Nic card -> cable internet modem no internet connection zeshan_b Mandriva 21 09-26-2004 11:48 AM
redundant internet connection with failover shashi_lq Linux - Networking 1 02-13-2004 11:39 AM
Internet Failover (Multiple ISPs) ghight Linux - Networking 2 02-12-2004 03:01 PM

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

All times are GMT -5. The time now is 07:51 PM.

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