From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Tomasz Chilinski" Date: Fri, 19 Nov 2004 10:48:42 +0000 Subject: Re: [LARTC] same gw / load balancing Message-Id: <20041119104645.M26917@chilan.com> List-Id: References: <1100816746.5806.20.camel@localhost.localdomain> In-Reply-To: <1100816746.5806.20.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Thu, 18 Nov 2004 18:25:47 -0400, Guillermo wrote > Hi Hi > 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). Try to use nth match and connmark match and target from netfilter.org patch-o-matic. > Guillermo -- Kind regards, Tomasz Chilinski _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/