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