[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Sheflug] load balance



> If you have two separate ADSL links that you want to put traffic over,
> you can load-balance by hot switching - but that will break
> any existing
> connection and does not allow you to use both at once. You can't
> actively balance traffic across both simultaneously because you would
> then have two source IPs, and packets from one IP would not be
> associated with a connection established on the other.
>
> Does that help, or are you trying to do something else?
>
> Cheers,
>
> Alex.

The easiest way to load share is to set up DHCP to dish out default gateway
addresses to your client PCs so that there are an even number of PCs on each
gateway.  This does not combine the bandwidth so that if you are the only PC
on you get the sum of the bandwidths but if there are two PCs "online" you
get half the total.  If either goes down you can get the DHCP server to
serve out only addresses for the one that is still up.  A small cron task to
check the state of each link and swap the DHCP daemon config file and
restart it should suffice.  I had a similar query about load balancing thin
client servers about a year ago and using the DHCP server to make sure thin
clients were spread over the thin client servers was the easiest way of
doing it.

HTH, at least as a work around.

Chris

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.2 - Release Date: 21/01/2005


___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.