Networking Forums

Networking Forums > Computer Networking > Linux Networking > linux failover (redundant internet/dial backup)

Reply
Thread Tools Display Modes

linux failover (redundant internet/dial backup)

 
 
mdiaczyk@yahoo.com
Guest
Posts: n/a

 
      02-26-2008, 12:31 PM
I have question about Linux routing I guess. I want to create a
backup connection to the internet. I will have a DSL line to the
internet and a dialup modem for backup. What I want to do is put a
higher metric on the dial up line. How will it know to switch over to
the dial up line when the Ethernet line is down. Which distribution
will work for this, I will have two Ethernet cards and a modems. Do I
need a default route for my main internet provider. Thanks Mike D
 
Reply With Quote
 
 
 
 
David Schwartz
Guest
Posts: n/a

 
      02-26-2008, 02:34 PM
On Feb 26, 5:31 am, mdiac...@yahoo.com wrote:
> I have question about Linux routing I guess. I want to create a
> backup connection to the internet. I will have a DSL line to the
> internet and a dialup modem for backup. What I want to do is put a
> higher metric on the dial up line. How will it know to switch over to
> the dial up line when the Ethernet line is down. Which distribution
> will work for this, I will have two Ethernet cards and a modems. Do I
> need a default route for my main internet provider. Thanks Mike D


The usual way this is handled is to have two default routes. The
higher-priority one uses your DSL and the lower-priority one uses your
dialup link. If the DSL route goes away (you will need to make sure
the route goes away if the link is inoperative), packets will take the
lower-priority route, which will trigger your dialup link to dial.

This is a somewhat tricky thing to set up. Google is your friend. Here
are the things you need to do:

1) Arrange things so that if your DSL link is not working, the default
route goes away. A route will go away automatically if its gateway is
not reachable.

2) Create a lower-priority default route that will cause your dialup
to auto-dial.

3) Test everything.

DS
 
Reply With Quote
 
randomguy
Guest
Posts: n/a

 
      02-29-2008, 01:55 AM
On Tue, 26 Feb 2008 05:31:21 -0800, mdiaczyk wrote:

> I have question about Linux routing I guess. I want to create a backup
> connection to the internet. I will have a DSL line to the internet and
> a dialup modem for backup. What I want to do is put a higher metric on
> the dial up line. How will it know to switch over to the dial up line
> when the Ethernet line is down. Which distribution will work for this,
> I will have two Ethernet cards and a modems. Do I need a default route
> for my main internet provider. Thanks Mike D


Linux Advanced Routing and Traffic Control guide should have what you
need. There is extensive info about this in their mailing list archive
as well.

http://lartc.org
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sky BB backup dial-in? m Broadband 2 10-13-2006 12:12 AM
nagios redundant and failover trevor Linux Networking 0 04-26-2004 11:15 PM
DSL main link, dial-up backup (automated) David Windows Networking 0 02-13-2004 10:21 AM
Free internet backup dial SOGGY Wireless Internet 4 02-11-2004 06:14 PM
dhcpd on linux, internet from windows (dial up) Miguel De Anda Linux Networking 2 08-01-2003 09:48 AM



1 2 3 4 5 6 7 8 9 10 11