Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Routing to Multiple Inet Connections

Posted on 1998-04-16
4
Medium Priority
?
244 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 600 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month9 days, 7 hours left to enroll

879 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