From mboxrd@z Thu Jan 1 00:00:00 1970 From: hesselsp@ashaman.dhs.org hesselsp@ashaman.dhs.org Date: Sun, 10 Dec 2000 17:32:38 +0000 Subject: [LARTC] load balance/redundancy Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org
Well, I think I have the redundancy down... In a kludgy way.  Right now I
have two default routes.

route add default gw 24.141.xxx.1
route add default gw 64.229.xxx.1

I can write a script that if one of connections goes down for x number of
pings, then remove the route.

Now for the load balancing.

Can you point me to documentation on iproute?  Other then the Advanced
Routing HOWTO, unless I am missing something in it.

Thanks again,
Paul

On Sun, 10 Dec 2000, Arthur van Leeuwen wrote:

> On Sun, 10 Dec 2000, Paul wrote:
> 
> > I have looked through the archives, and I can't find the answer(not that
> > it isn't there)
> > 
> > I have two connections to the net.  I want load balancing and redundancy.
> > 
> > cable      adsl
> > (24.141.)  (64.229)
> > |          |
> > |          |
> > |          |
> > |          |
> > ------------
> > |  linux   |
> > |redhat 7.0|
> > 
> > I have no idea were to even start.  I would like equal access to both
> > connections.  Please help.  I would assume that alot of people do this
> > already, or want to.  A sample config would be very nice.
> 
> Hmm. Try reading the ip route 2 documentation on the ip command, and look
> at the 'nexthop' arguments to route add. This will set up multipath routes
> which do most of what you want.
> 
> There does seem to be something of a discrepancy between the ordinary
> default route code and the multipath code in the handling of down
> links that might bite you though when one of the links goes down...
> 
> Doei, Arthur. (Still figuring that last one out)
> 
> 

-- 
HEY!  I'm a guy like me!

		--Homer