Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 1995 20:27:07 +0100 (MET)
From:      Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de>
To:        asolberg@success.net (Andrew Solberg)
Cc:        questions@freebsd.org
Subject:   Re: pppd and 2.1 problems
Message-ID:  <199512111927.UAA24441@gilberto.physik.rwth-aachen.de>
In-Reply-To: <30CC9AE6.616A@success.net> from "Andrew Solberg" at Dec 11, 95 12:56:06 pm

next in thread | previous 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.  

The GATEWAY option is obsolete.

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

Are you sure your /etc/netstart contains the lines

if [ "x$gateway" != "xNO" ]; then
        echo 'configuring host as a gateway.'
        sysctl -w net.inet.ip.forwarding=1
fi
These 
> 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
> 

--Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512111927.UAA24441>