On Fri, 2003-09-12 at 01:43, James Neave wrote:
> Hello all,
> 
> First of, my definition of Load Balancing is 2 or more Modems in a
> machine and both are used to connect to a network or ISP, increasing the
> maximum possible bandwidth.
> 
> A friend asked me a question.
> 
> Is it possible to load balance two ADSL connections? One is his, one is
> his neighbours. Two PCs, Two ADSL modems and a WAP connected to one of
> the gateway machines and a wireless NIC in the other.


yes, you may balance on the basis of connection, or on the basis of
packet.  In fact, you may do any type of
routing/balancing/unidirectional/bidirectional thing you might like to
do.

The following will route each *packet* out a different port.

ip route add equalize default \
   nexthop via DSL1-IP dev eth1 \
   nexthop via DSL2-IP dev eth1


If you remove the word "equalize", then it will send each alternate tcp
stream out each port.

DSLn-IP are the addresses of your DSL connections, and eth1 is the
assumed local interface pointing at your DSL modems.


please report your success and/or problems with this, so I may amend
etc.


/steve




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to