All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] same gw / load balancing
@ 2004-11-18 22:25 Guillermo
  2004-11-19 10:48 ` Tomasz Chilinski
  0 siblings, 1 reply; 2+ messages in thread
From: Guillermo @ 2004-11-18 22:25 UTC (permalink / raw)
  To: lartc

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@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-19 10:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-18 22:25 [LARTC] same gw / load balancing Guillermo
2004-11-19 10:48 ` Tomasz Chilinski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.