From owner-freebsd-questions Wed Jan 2 7:18:34 2002 Delivered-To: freebsd-questions@freebsd.org Received: from clmboh1-smtp3.columbus.rr.com (clmboh1-smtp3.columbus.rr.com [65.24.0.112]) by hub.freebsd.org (Postfix) with ESMTP id 8BB7E37B416 for ; Wed, 2 Jan 2002 07:18:30 -0800 (PST) Received: from potentialtech.com (dhcp065-024-023-038.columbus.rr.com [65.24.23.38]) by clmboh1-smtp3.columbus.rr.com (8.11.2/8.11.2) with ESMTP id g02FDng20500; Wed, 2 Jan 2002 10:13:49 -0500 (EST) Message-ID: <3C332577.9040308@potentialtech.com> Date: Wed, 02 Jan 2002 10:21:27 -0500 From: Bill Moran Organization: Potential Technology User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.3) Gecko/20010914 X-Accept-Language: en-us MIME-Version: 1.0 To: Keith Spencer Cc: fbsd Subject: Re: Is this possible on FBSD? References: <20020102053954.30673.qmail@web12004.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Keith Spencer wrote: > Hi all, > Is it possible (in dummies speak for me pleeez) to > dial in to a FreeBSD 4.4 server via a couple of std > modems (one on the remote end and one on the server) > which is also an internet gateway for a lan (ADSL > connection) and be able to access the lan machines > (they are 192.168.1.x ips) AND be routed back out > through the server gateway ADSL for Internet access > too? > I guess I am asking a couple of questions here... > 1)can a dial in machine be given a non-routable IP in > the same c space as the lan machines. Yes, but it will be easiest to configure if you subdivide that C space up - makes routing easier. Generally, when I do things like this I put each interface on a different network number. 192.168.1.0/25 for local LAN 192.168.1.128/25 for dial-in ... for example. > 2)can the server then still use NAT to give gateway > services to the dial-in computer with the 192... > address? Yes. > If so ...hints would be great eg do I need routed or > gated or whatever? If you divide everything up into subnets (like I described above) it can be done pretty easily with routing statements. -- Bill Moran Potential Technology http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message