From owner-freebsd-hackers Wed Dec 18 18:12:56 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id SAA23459 for hackers-outgoing; Wed, 18 Dec 1996 18:12:56 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id SAA23440 for ; Wed, 18 Dec 1996 18:12:53 -0800 (PST) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.2/8.7.3) id MAA02473; Thu, 19 Dec 1996 12:42:44 +1030 (CST) From: Michael Smith Message-Id: <199612190212.MAA02473@genesis.atrad.adelaide.edu.au> Subject: Re: NAT with FreeBSD? In-Reply-To: <199612190140.RAA19872@monk.via.net> from Joe McGuckin at "Dec 18, 96 05:40:14 pm" To: joe@via.net (Joe McGuckin) Date: Thu, 19 Dec 1996 12:42:43 +1030 (CST) Cc: hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Joe McGuckin stands accused of saying: > > How can I do this? Do I need 2 ethernets or can I do it with just one? > > T1 --------- Token Ring > -----------------| Cisco |------------------------------- > --------- > | > |Ethernet > | > --------- > | FreeBSD | > --------- > > I'd like to number everything behind the Cisco with 10.0.0.0 > > I'd like to FreeBSD box to translate IP's. > > Possible?? Yup. Drop a second address onto the BSD box's ethernet interface (hint: ifconfig alias), and use ipfilter to do your NAT. > -joe -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[