From owner-freebsd-questions@FreeBSD.ORG Mon Dec 15 07:06:51 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D69F816A4CE for ; Mon, 15 Dec 2003 07:06:51 -0800 (PST) Received: from ns1.tcbug.org (12-218-40-24.client.mchsi.com [12.218.40.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07A9443D35 for ; Mon, 15 Dec 2003 07:06:51 -0800 (PST) (envelope-from friar_josh@ns1.tcbug.org) Received: by ns1.tcbug.org (Postfix, from userid 1003) id A4A23BA24; Mon, 15 Dec 2003 09:06:17 +0000 (GMT) Date: Mon, 15 Dec 2003 09:06:16 +0000 From: Josh Paetzel To: hugle Message-ID: <20031215090616.GB2482@ns1.tcbug.org> References: <1120787753.20031215004154@vkt.lt> <20031214233809.GS64340@seekingfire.com> <30148006381.20031215081533@vkt.lt> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <30148006381.20031215081533@vkt.lt> User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org Subject: Re: ipnat+ipfw + 3 gateways X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2003 15:06:51 -0000 On Mon, Dec 15, 2003 at 08:15:33AM -0800, hugle wrote: > btw, why should i use forward? > cause system has ONE deufalt route, so if i nat via otehr interface, > teh packets don't know to wwhch GW they have to go. > > So maybe i need to add default gateways to other interfaces ? > > so i have: > default gw is 213.252.192.161 > and default gw for 213.252.192.142 is 213.252.192.141 > and deafult gw for 212.59.9.59 is 212.59.9.1 > You can't have more than one default gateway on a FreeBSD box, but you can add your own static routes. That looks to me to be the direction to go. :) Josh Paetzel