Hi I want to use two dsl (or more) lines to increase my internet bandwidth. Our dsl lines are dhcp serviced. Both of them provide the same Def GW and different IPs for each ethernet interface (same subnet). ¿Is it possible to balance outgoing traffic "using" the interface as a criteria? No point on choosing gateway by IP. ¿Could someone give me a clue on how to deal with this? (first time with this topic for me). Guillermo _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Thnx Snitt (a lot) I would like to avoid that (buying external additional hw). Also we would like to preserve the public IPs on the Linux box. I know it would be very tricky to make it work the way i want it but that would be the nicest thing to do... why? because all real IPs would be on the Linux box (not behind a NAT box, behind NAT would be simple to achieve). Developers please... This is my problem: lan -- eth0 linux eth1 (ip1) --- dsl1 (gw ip3) eth2 (ip2) --- dsl2 (gw ip3) It really does no matters to me now to do "a good outgoing balancing", i would be happy just to make it work without the need of external natting. Impossible ? Guillermo On Sat, 2004-11-20 at 21:01, Endre SZABO wrote:> Guillermo wrote: > > > Hi > > > > I want to use two dsl (or more) lines to increase my internet bandwidth. > > Our dsl lines are dhcp serviced. Both of them provide the same Def GW and different IPs for each ethernet interface (same subnet). > > > > Is it possible to balance outgoing traffic "using" the interface as a > > criteria? No point on choosing gateway by IP. > > > > ÂżCould someone give me a clue on how to deal with this? > > (first time with this topic for me). > I can tell you that this will not work. You have to either install a > cheap dhcp capable dsl router on one of the interfaces heading to the ISPs. > > Regards, Snitt_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
* Guillermo <1101002511.7386.11.camel@localhost.localdomain> 2004-11-20 22:01> Thnx Snitt (a lot) > > I would like to avoid that (buying external additional hw). Also we > would like to preserve the public IPs on the Linux box. I know it would > be very tricky to make it work the way i want it but that would be the > nicest thing to do... why? because all real IPs would be on the Linux > box (not behind a NAT box, behind NAT would be simple to achieve). > > Developers please... > > This is my problem: > > lan -- eth0 linux eth1 (ip1) --- dsl1 (gw ip3) > eth2 (ip2) --- dsl2 (gw ip3)Create two routing tables as suggested in the LARTC howto to ensure flows staying on the same link properly. Create a default route with two nexthops one for each device, it doesn''t matter if the nexthop ip is the same, the route is identified by tos,dev, and ip. See nano.txt or one of dozen examples. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/