try this hope can help
http://www.linuxvirtualserver.org/~julian/dgd-usage.txt tin There is a commercial product that does exactly this. The product is called FatPipe, and you can check it out at http://www.fatpipeinc.com. I happen to know they just run on a Linux box of some kind (OpenLinux, I think). I know you're not looking for a commercial solution, but if the product does what it says it does, it CAN be done. --On Thursday, February 28, 2002 11:24 AM -0600 Steve Westerhouse <[EMAIL PROTECTED]> wrote:rr > Thanks for your reply. > > I am aware that spreading packets across two ips could mess things up but > I'd expect that the Linux gateway would avoid this. My expectations are > that the gateway would keep track of bandwidth in use on both pipes and > whichever one had the smallest utilization would be chosen for the next > transfer. This would have to use connection tracking to work properly. I > don't think it would matter for UDP based apps but I suppose it's really > up to the app. > > > ----- Original Message ----- > From: "Chris Wilkes" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, February 28, 2002 11:12 AM > Subject: Re: How to aggregate bandwidth from 2 DSL modems? > > >> On Thu, Feb 28, 2002 at 10:33:57AM -0600, Steve Westerhouse wrote: >> > I have two DSL modems (each has same bandwidth) connected to my RedHat > 7.1 >> > Linux gateway. There are 3 NICs in the system (1 LAN, 2 WAN). How can > I >> > combine the bandwidth of both of these modems? I have a feeling this > can be >> > accomplished using iptables in some way. I understand that any given > file >> > transfer will not be able to exceed the bandwidth of an individual DSL >> > modem. The real advantage comes in when there are > 1 concurrent >> > connections. >> >> Usually if you have two pipes like this you ask your single ISP to bond >> them together. However that's usually done with traditional links like >> ISDN and T1s. I highly doubt that ISPs are doing this bonding with DSL. >> >> So you're left with using them as individual pipes, which I think you >> understand as you mentioned bandwidth limits on the one DSL line. >> >> I'm not sure how to do this dynamically with DSL but you could >> statically NAT the odd users out DSL #1 and the even ones out DSL #2. >> That's pretty cheasy and doesn't help out much. >> >> You can take a look at the Advanced Routing Howto: >> http://www.linuxdoc.org/HOWTO/Adv-Routing-HOWTO.htm >> http://www.linuxdoc.org/HOWTO/Adv-Routing-HOWTO-10.html >> The 2nd link describes "TEQL" for "True|Trivial Link Equalizer" -- >> however both machines have to run Linux. >> >> What kind of things are you looking to load balance? You have to be >> aware that most things could break if you suddenly come from a different >> IP in the middle of a session. For example you're playing Quake and >> suddenly your IP switches or half your packets are coming from a >> different IP. >> >> I would look into different proxy servers to do this job for you. >> Looking over the Squid pages you can probably do something with >> parents/siblings and routing those over different links. >> >> Chris >> >> > >