From owner-freebsd-questions Tue Oct 3 13:55:22 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA22319 for questions-outgoing; Tue, 3 Oct 1995 13:55:22 -0700 Received: from mail.Microserve.Net (mail.microserve.net [192.204.120.4]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id NAA22308 for ; Tue, 3 Oct 1995 13:55:16 -0700 Received: from apollo by mail.Microserve.Net with SMTP (8.6.10/25-eef) id UAA08162; Tue, 3 Oct 1995 20:55:02 GMT Received: by apollo with Microsoft Mail id <01BA91B0.363933A0@apollo>; Tue, 3 Oct 1995 16:49:31 -0400 Message-ID: <01BA91B0.363933A0@apollo> From: Andrew Solberg To: "'FreeBSD Questions'" Subject: small subnet, PPP, and Internet Date: Tue, 3 Oct 1995 16:49:14 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk I am having problems getting my FreeBSD box connected. I have a fulltime PPP dialup to my ISP and he has given me a 30 IPs on a subnet. They are 198.51.81.225 -> 198.51.81.254. In my office I have 4 machines, besides my FreeBSD box that I would like to setup so that the other 4 can get out of our local (office) ethernet through the FreeBSD box (running PPP). I am running 2.1.0-950928-SNAP. I am using pppd. My problem is with setting up routing, and DNS. I have pppd running, that is it dials, connects, logs in, and runs fine. 1st. I am not able to get access anything on Internet with the FreeBSD machine. I can ping the PPP remote IP (198.51.79.14). But I cannot ping any outside of 198.51.81.xxx. I have read through several Linux How-To's and FAQs, but I do not know how to set up the route. If i do a netstat -rn, It tells me: Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 198.51.79.14 UGc 1 0 ppp0 127.0.0.1 127.0.0.1 UH 1 0 lo0 198.51.79.14 198.51.81.225 UH 2 0 ppp0 198.51.81.224 link#1 UC 0 0 198.51.81.226 127.0.0.1 UGHS 0 0 lo0 198.51.81.230 0:20:af:e9:4c:80 UHLW 1 54 ed1 1150 198.51.81.255 link#1 UHLW 1 14 224 link#1 UCS 0 0 Will I have to add anything with route? For my, local ethernet setup, will I have to set up a nameserver? I do know two of my ISP's DNS machines. Should the other machines on the net use the FreeBSD box as their gateway? And if so, which IP would they use, the ppp0 IP or the ed1 IP??? Any help will be great... --- Andrew Solberg asolberg@success.net