Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 1999 19:49:35 -0800 (PST)
From:      Brent <brent@kearneys.ca>
To:        David Weiss <weiss724@bellsouth.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Routing help
Message-ID:  <Pine.BSF.4.21.9911291941080.4755-100000@ThePalace.kearneys.ca>
In-Reply-To: <000e01bf3ab0$d8e1e040$4c00a8c0@HBOCD01>

next in thread | previous in thread | raw e-mail | index | archive | help


On Mon, 29 Nov 1999, David Weiss wrote:

> I am trying to connect a FreeBSD box to a windows 2000 box, which is
> hooked up via ADSL (and dynamic IP) to the internet.  It has another
> NIC that connects to the same LAN as the FreeBSD box, and it uses a
> static IP of 192.168.0.1 for internal addressing.  I want help in

So I assume your internal network is 192.168.0.0/24 (i.e. your internal
subnet is 255.255.255.0).  In this case, your FreeBSD box should have an
IP in the range 192.168.0.2-192.168.0.254.

Since your Win2k machine will be acting as the BSD machine's
gateway/router, add the Win2k's IP to the rc.conf:

defaultrouter="192.168.0.1"

This all assumes that Win2k can do NAT, translating the packets to the
real internet IP as they leave, then re-translating them back to the
internal IP on the way back in.

-Brent



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?Pine.BSF.4.21.9911291941080.4755-100000>