same gw / load balancing

Linux Advanced Routing and Traffic Control

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

 



Hi

I want to use two dsl (or more) lines to increase my internet bandwidth.
Our dsl lines are dhcp serviced, so when we pull together two dsl
modems, both of them provide the same def gw and different ip in the
same subnet (i also assume that arping gives the same MAC for the def gw
since it's a bridged network).

ÂIs it possible to balance outgoing traffic "using" the interface as a
criteria? No point on choosing gateway, it's the same both ways.

What i thought so far is:

1.- If the request comes from the right source ip addres (dhcp provided)
in my Linux box, it will go through the right dsl modem and ethernet
interface. Then i need to use some kind of general ip-proxying if i want
to build a load balancing gw with dsl lines in my country.

2.- The ip-proxy has to balance the traffic o i could use two proxies
being balanced by a previous method (mangling, prerouting, redirecting,
marking packets...)

3.- I don't think i can use iptables snat o masquerade because that
occurs in postrouting chain.  In fact the routing decision will always
be "use the def gw", the points is which interface to use. That's why i
asked for the interface as routing criteria.

ÂCould someone give me a clue on how to deal with this in the simplest
manner? (first time with this topic for me).

Guillermo






_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux