From owner-freebsd-questions Mon Nov 29 19:48:59 1999 Delivered-To: freebsd-questions@freebsd.org Received: from kearneys.ca (cr1003527-a.rct1.bc.wave.home.com [24.113.36.145]) by hub.freebsd.org (Postfix) with SMTP id 7E8DC1573E for ; Mon, 29 Nov 1999 19:48:52 -0800 (PST) (envelope-from brent@kearneys.ca) Received: (qmail 8894 invoked by uid 1000); 30 Nov 1999 03:49:35 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 30 Nov 1999 03:49:35 -0000 Date: Mon, 29 Nov 1999 19:49:35 -0800 (PST) From: Brent To: David Weiss Cc: freebsd-questions@freebsd.org Subject: Re: Routing help In-Reply-To: <000e01bf3ab0$d8e1e040$4c00a8c0@HBOCD01> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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