Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Dec 2003 09:06:16 +0000
From:      Josh Paetzel <friar_josh@tcbug.org>
To:        hugle <hugle@vkt.lt>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ipnat+ipfw  + 3 gateways
Message-ID:  <20031215090616.GB2482@ns1.tcbug.org>
In-Reply-To: <30148006381.20031215081533@vkt.lt>
References:  <1120787753.20031215004154@vkt.lt> <MIEPLLIBMLEEABPDBIEGGEKCFAAA.fbsd_user@a1poweruser.com> <20031214233809.GS64340@seekingfire.com> <30148006381.20031215081533@vkt.lt>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031215090616.GB2482>