From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Subject: Re: Load balancing. Date: Sun, 03 Apr 2005 22:49:49 +0200 Message-ID: <425056ED.3010104@eurodev.net> References: <004e01c53881$c1adb2d0$88161753@szpaq> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <004e01c53881$c1adb2d0$88161753@szpaq> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: szpak Cc: netfilter@lists.netfilter.org szpak wrote: > Hello. > > I need help with I think something very easy to do with Iptables. > > I need to have load balancing via nat for two or more ISP as in chart: > > ------ ISP1 > | 128.0.0.0/30 > ---->[Linux NAT]-------- ISP2 > 192.168.0.0/24 | 80.0.0.0/30 > ------ ISP3 > 85.0.0.0/30 > > I have some users on my side and I want them to simply load balance trafic > from them via those three ISP's. How to do that, is there a way to have three default static routes? This is not related to iptables itself. Have a look at iproute. http://lartc.org/howto/ -- Pablo