From owner-freebsd-ipfw@FreeBSD.ORG Tue Sep 20 15:42:31 2005 Return-Path: X-Original-To: freebsd-ipfw@freebsd.org Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F0C116A41F for ; Tue, 20 Sep 2005 15:42:31 +0000 (GMT) (envelope-from vladone@spaingsm.com) Received: from mail.spaingsm.com (llwb135.servidoresdns.net [217.76.137.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D8DD43D5C for ; Tue, 20 Sep 2005 15:42:23 +0000 (GMT) (envelope-from vladone@spaingsm.com) Received: from xeon.mshome.net (unknown [84.243.99.132]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.spaingsm.com (Postfix) with ESMTP id EB57324C839 for ; Tue, 20 Sep 2005 17:24:01 +0200 (CEST) Date: Tue, 20 Sep 2005 18:41:48 +0300 From: vladone X-Mailer: The Bat! (v3.0.1.33) Professional X-Priority: 3 (Normal) Message-ID: <255492927.20050920184148@spaingsm.com> To: freebsd-ipfw@freebsd.org In-Reply-To: <433009A6.9070705@roamingsolutions.net> References: <433009A6.9070705@roamingsolutions.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: multiple incoming lines X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vladone List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Sep 2005 15:42:31 -0000 U have (for set 2) this rules to divert packets that outgoing: $cmd 10050 set 2 divert natd2 ip from any to any out via $ext_if1 $cmd 10050 set 2 divert natd2 ip from any to any out via $ext_if2 I dont understand what u want to do? This rules translate all adress that outgoing throught $ext_if1 and $ext_if2 with address indicated by natd2. Divert and route is two thinks completly different. If u want to route packets to different outgoing interfaces, need to use different routes. (man route). If u want to outgoing packets with different addresses, but same interface, need to use divert (and need to put alias for external interface with addresses that u need). If u want to make so named load balancing, when use to lines for incoming trafic that sumarize bandwidth then is more complicated.