Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 1995 12:56:06 -0800
From:      Andrew Solberg <asolberg@success.net>
To:        questions@freebsd.org
Subject:   pppd and 2.1 problems
Message-ID:  <30CC9AE6.616A@success.net>

next in thread | raw e-mail | index | archive | help
I recently installed 2.1 and now I'm having problems
using pppd on the FreeBSD box and routing other machines on
the local netowrk.

We have a small network.  We are using FreeBSD to dial up
our ISP and connect.  The FreeBSD box is named 'athena'.
Its IP is 198.51.77.65.  The terminal server that it dials
is 198.51.79.14.  We have a total of 30 IPs,
198.51.77.65 -> 198.51.77.95.  All the rest are Win '95, Win NT,
and Windows machines.

In a few earlier 2.1-SNAP releases, I could use netscape on
one of my Win '95 machines (198.51.77.70), and with
my gateway set as 198.51.77.65 (FreeBSD dialup - athena) access
internet.  I had the GATEWAY option compiled in the kernel
and I am using pppd.  

Now, I am able for my FreeBSD box to access the internet through
ppp, but no other machines on the local network.  Here
is my current netstat -rn:
Routing tables

Internet:
Destination      Gateway            Flags     Refs     Use     Netif 
Expire
default          198.51.79.14       UGc         4      155      ppp0
127.0.0.1        127.0.0.1          UH          1       72       lo0
198.51.77.64     link#1             UC          1        0
198.51.77.65     127.0.0.1          UGHS        0        0       lo0
198.51.77.70     0:20:af:e9:4c:80   UHLW        0       42       ed1   
1048
198.51.79.14     198.51.77.65       UH          5        0      ppp0
224              link#1             UCS         0        0

I did set gateway=YES in /etc/sysconfig.

Here is ifconfig -a:
ed1: flags=a863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,LINK1,MULTICAST> 
mtu 1500
        inet 198.51.77.65 netmask 0xffffffe0 broadcast 198.51.77.95
        ether 00:00:e8:08:47:0c
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
        inet 198.51.77.65 --> 198.51.79.14 netmask 0xffffffe0

Any ideas what I can do to using the local network to access
internet through pppd on my FreeBSD box???  

Also, I am using routedflags=-q in my /etc/sysconfig.

Send any replies to asolberg@success.net

Thanks.


My ISP gave me about 30 ip's to use.
Windows 3.11 / Win '95 / and Win NT machines running on.

I am using the FreeBSD box to dialup my ISP for our Internet
gateway.  My FreeBSD box is 198.51.77.65.  
--
 >> Andrew Solberg
<<  Mycrowynn Corporation
 >> asolberg@success.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?30CC9AE6.616A>