From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 19:04:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D8F9106566C for ; Thu, 18 Jun 2009 19:04:31 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id B11888FC0A for ; Thu, 18 Jun 2009 19:04:29 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id n5IJ4LUd043346; Thu, 18 Jun 2009 21:04:21 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id n5IJ4LNa043343; Thu, 18 Jun 2009 21:04:21 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 18 Jun 2009 21:04:21 +0200 (CEST) From: Wojciech Puchar To: "Raul I. Becette" In-Reply-To: <4A3A7BDC.1010106@unp.edu.ar> Message-ID: References: <4A39254F.6000603@unp.edu.ar> <4A3A7BDC.1010106@unp.edu.ar> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Users Subject: Re: Gateway load balance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2009 19:04:31 -0000 >> >> use ipfw and fwd command. >> >> for example with output section >> >> add 10000 fwd gw1_IP from DSL1_subnet to any via gw1_ethernet >> add 10001 fwd gw2_IP from DSL2_subnet to any via gw2_ethernet >> add 10002 fwd gw3_IP from DSL3_subnet to any via gw3_ethernet > > for my scenario I asume gwX_IP the IP address of my dsl gateways. What would > be DSLX_subnet and gwX_ethernet? sorry i thought you are not doing nat in gateways. if you do and cat change it - change it, but it's not a requirement. replace DSL1_subnet with DSL1_outgoing address etc., if all gateways are connected by switch replace gw*_ethernet with the same. you must start with different outgoing addresses (simple in squid) for each gateway.