Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Routing to Multiple Inet Connections

Posted on 1998-04-16
4
218 Views
Last Modified: 2010-03-18
I have a Linux box as my firewall/router with 3 NIC's; 1 NIC for LAN and 1 for each Inet connections.  I have an internal LAN with 2 routes to the Internet.  How do I set up routing to route to a selected Inet connection and somehow sense whether that connection is up and if connection is not up, route to the alternate connection?  Inet connections are 56K frame and 4Mbps.  I am using the Redhat 5.0 Distribution.
0
Comment
Question by:WARPHEAD
  • 2
  • 2
4 Comments
 

Author Comment

by:WARPHEAD
ID: 1587591
Edited text of question
0
 
LVL 2

Accepted Solution

by:
eckspurt earned 150 total points
ID: 1587592
You can do that with gated, but you might find BGP a bit much to dive in to.  Your other option is to use custom scripts to detect the loss of one connection and switch your routing to the other.  An advantage to gated is that you could potentially set up preferential routing so that if both interfaces are up, you'd send traffic through whichever provider is closer to the destination.

Some documents to reference:

http://www.gated.merit.edu/
http://www.netaxs.com/~freedman/bgp.html
http://ds.internic.net/rfc/rfc1771.txt
http://www.hojmark.org/networking.html#rout

0
 

Author Comment

by:WARPHEAD
ID: 1587593
I am going to have to give you an A on this one.  Because, I seem to have not completely asked the whole question.  In addition to having two seperate routes to the internet...they are provided by two seperate service providers.  I should have asked how also to route my traffic via both.  My bust...  
0
 
LVL 2

Expert Comment

by:eckspurt
ID: 1587594
It's the same answer.  You need to use the Border Gateway Protocol (BGP) to talk to multiple providers.  Most big providers will be reluctant to talk to you via BGP because it's too easy to goof things up, but if you want to be multihomed, that's how you'd do it.

Just to drop the connection with one provider and switch to the other is simpler, tho' -- you could prob'ly do it with gated just fine, or you might find it easier to write a couple lines of shell script (or Perl) to switch.

0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question