Solved

Routing to Multiple Inet Connections

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

Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

Question has a verified solution.

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

Suggested Solutions

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…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

939 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

16 Experts available now in Live!

Get 1:1 Help Now