From owner-freebsd-questions Mon Jun 22 11:32:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA22388 for freebsd-questions-outgoing; Mon, 22 Jun 1998 11:32:20 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mercury.jorsm.com (mercury.jorsm.com [207.112.128.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA22248 for ; Mon, 22 Jun 1998 11:31:21 -0700 (PDT) (envelope-from jer@jorsm.com) Received: from localhost (jer@localhost) by mercury.jorsm.com (8.8.7/8.8.7) with SMTP id NAA10818; Mon, 22 Jun 1998 13:31:13 -0500 (CDT) Date: Mon, 22 Jun 1998 13:31:12 -0500 (CDT) From: Jeremy Shaffner To: Jonathan Smith cc: questions@FreeBSD.ORG Subject: Re: simple home networking In-Reply-To: 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 Sun, 21 Jun 1998, Jonathan Smith wrote: > Could somone point me at the right URL to explain how to do the following? > I once saw info similar to this in the handbook but couldn't find it a > couple weeks ago. > > BSD machine (2.2.6stable/3.0snap) with modem (cuaa1), ether (ed1) > | - 95 Machine > | / > Hub - BSD Machine (3.0) > | \ > | - 95 Machine > NT machine > > I would like to run PPP over modem on the first BSD machine, and be able > to grant internet access to the remaining machines. THe only one with a > reel IP will be the one using the PPP. > ISP | | tun0 (IP assigned by ISP) | BSD (with gateway_enable="YES" and with natd or ppp -alias) | ed1 (10.0.0.1) | | Hub - 0.5 - Win95 / | \ 0.2 0.3 0.4 / | \ NT Win95 BSD All the hosts should have 10.0.0.1 as their default route. 0.1 should have the Dynamic IP as it's default route. (Set at linkup time.) The Netmask on everything should be 255.255.255.0. You will also want entries in /etc/hosts in each computer for each computer, and proper DNS info in /etc/resolv.conf, and proper order in /etc/host.conf (place hosts above bind.) You can also use 192.168/24 as your network if you prefer. I use 10/24 cause it's easier to type. :) I think that's it. -===================================================================- Jeremy Shaffner JORSM Internet Senior Technical Support Northwest Indiana's Premium jer@jorsm.com Internet Service Provider support@jorsm.com http://www.jorsm.com -===================================================================- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message