Hi Chris,
Quote:> In my office, we have two sets of bandwidth coming in. A fractional T1 and
> a Cable Modem. Recently, we've been having the issues with the T and would
> prefer to have our Linux router take both sets of bandwidth and fail-over
> to the cable-modem if necessary. Short of making a script that is
> consistently pinging and on 5-failures it changes the routing tables(which
> I'm not very pleased with as a method), is there a package that use BGP to
> determine if the route is up or down? All I need it to do is see, "Eth0 is
> dead, send everything through Eth1". Thanks in advance.
Well there is a good news and there is bad news on this front. The BGP
protocol that you mention is capable of doing this but it isn't something that
you can just plonk on the Linux box and hope to work. The BGP protocol
requires support from both your ISP providers (I am pretty sure that you will
find that your providers wouldn't route BGP packets for you unless they are
really big companies). Additionally, you would also need to apply for a AS
number (Autonomous System Number) which effectively is your routing packet
number. Once you have all of that settled you would then need to have your
own netblock numbers as well.
As you can see BGP gets pretty complicated very fast and requires a lot of
support from external agencies like the group in your area which hands out
netblocks (these aren't that easy to get these days) as well as getting your
AS number and finding ISP's that provide support for you. Additionally, this
is very expensive and normally implemented at a higher level in CISCO border
gateways.
I am afraid the only way that you might be able to go is to write your script
which does the following:
* ping your eth0 remote gateway
* upon a failure you need to:
* Down the eth0 interface or suspend traffic going through it
* Bring up the eth1 interface
* Modify the routing table
* Restart any/all of your services which might be bound to a specific
interface
* Keep checking for the eth0 route to come good again. Once it goes good
do all the changes.
It gets tricky to do!
See ya
Dean Thompson
--
+____________________________+____________________________________________+
| Bach. Computing (Hons) | ICQ - 45191180 |
| PhD Student | Office - <Off-Campus> |
| School Comp.Sci & Soft.Eng | Phone - +61 3 9903 2787 (Gen. Office) |
| MONASH (Caulfield Campus) | Fax - +61 3 9903 1077 |
| Melbourne, Australia | |
+----------------------------+--------------------------------------------+