From owner-freebsd-questions Mon Dec 11 11:34:42 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA18616 for questions-outgoing; Mon, 11 Dec 1995 11:34:42 -0800 (PST) Received: from gilberto.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.31.2]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA18289 for ; Mon, 11 Dec 1995 11:32:11 -0800 (PST) Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.6.11/8.6.9) id UAA24441; Mon, 11 Dec 1995 20:27:08 +0100 Message-Id: <199512111927.UAA24441@gilberto.physik.rwth-aachen.de> Subject: Re: pppd and 2.1 problems To: asolberg@success.net (Andrew Solberg) Date: Mon, 11 Dec 1995 20:27:07 +0100 (MET) Cc: questions@freebsd.org In-Reply-To: <30CC9AE6.616A@success.net> from "Andrew Solberg" at Dec 11, 95 12:56:06 pm From: Christoph Kukulies Reply-To: Christoph Kukulies X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-questions@freebsd.org Precedence: bulk > > 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 > mtu 1500 > inet 198.51.77.65 netmask 0xffffffe0 broadcast 198.51.77.95 > ether 00:00:e8:08:47:0c > lp0: flags=8810 mtu 1500 > lo0: flags=8009 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > ppp0: flags=8051 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