Solved

Routing to Multiple Inet Connections

Posted on 1998-04-16
4
214 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

747 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now