From owner-freebsd-questions Sat May 2 19:07:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA27784 for freebsd-questions-outgoing; Sat, 2 May 1998 19:07:41 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from freebie.lemis.com (freebie.lemis.com [139.130.136.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA27758 for ; Sat, 2 May 1998 19:07:18 -0700 (PDT) (envelope-from grog@lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id LAA03593; Sun, 3 May 1998 11:37:16 +0930 (CST) (envelope-from grog) Message-ID: <19980503113716.F3202@freebie.lemis.com> Date: Sun, 3 May 1998 11:37:16 +0930 From: Greg Lehey To: kjep@kajen.com, freebsd-questions@FreeBSD.ORG Subject: Re: Is this network possible? References: <19980502121010.17847.rocketmail@attach1.rocketmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <19980502121010.17847.rocketmail@attach1.rocketmail.com>; from Johan Petersson on Sat, May 02, 1998 at 05:10:10AM -0700 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 2 May 1998 at 5:10:10 -0700, Johan Petersson wrote: > Hi everyone, > > Consider this hypothetical TCP/IP network: > > Internet > | > | > ----------------- > | 200.200.200.123 | > | router | > | 123.123.123.1 | > ----------------- > | > | --------------------------- > | | server "giant" | Workstations > >-------------| 123.123.123.2 10.0.2.1 |------ 10.0.2.* > | --------------------------- > | > | --------------------------- ------------- > | | server "eagle" | | Workstation | > >-------------| 123.123.123.3 10.0.3.1 |------| 10.0.3.2 | > | | | ------------- > >-------------| 123.123.123.4 | > | --------------------------- > | > > Both servers are running FreeBSD 2.2.5. > The server "eagle" would have three network cards. The idea is to use NAT > to access the Internet from workstation 10.0.3.2 (as 123.123.123.3) and > to use the other card (123.123.123.4) to access the server "giant" and > the 10.0.2.* network and bypassing NAT (since we're on a private network) > to be able to use X-Window on 10.0.3.2 to run applications on "giant". > > The 123.123.123 network would be public. > > My question is; is this possible and how would you configure "eagle" > (routing, ifconfig etc.) I think you're misunderstanding natd. You don't need two addresses for eagle: one will do. natd determines whether packets are intended for forwarding or for the local machine. Take a look at "The Complete FreeBSD", second edition (http://www.cdrom.com/titles/os/bsdbook2.htm) for configuration examples. Greg -- See complete headers for address and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message