Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 May 1998 11:37:16 +0930
From:      Greg Lehey <grog@lemis.com>
To:        kjep@kajen.com, freebsd-questions@FreeBSD.ORG
Subject:   Re: Is this network possible?
Message-ID:  <19980503113716.F3202@freebie.lemis.com>
In-Reply-To: <19980502121010.17847.rocketmail@attach1.rocketmail.com>; from Johan Petersson on Sat, May 02, 1998 at 05:10:10AM -0700
References:  <19980502121010.17847.rocketmail@attach1.rocketmail.com>

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



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