*BSD News Article 56714


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!usc!ccnet.com!boo!netcom.com!kehlet
From: kehlet@netcom.com (Steven Kehlet)
Subject: Re: 2.1 + pppd + local network question
Message-ID: <kehletDJGr40.Ey@netcom.com>
Organization: NETCOM On-line Communication Services (408 261-4700 guest)
References: <4a7kef$rhh@lily.redrose.net>
Date: Tue, 12 Dec 1995 07:50:23 GMT
Lines: 68
Sender: kehlet@netcom23.netcom.com

I don't have a complete solution, but your default gateway is
pointing back to yourself:

: default          198.51.77.65       UGSc        6      105       ed1

I assume this .79.14 machine is your dial-up remote machine.  You want 
it to be your default, not yourself.

: 198.51.79.14     198.51.77.65       UH          0        0      ppp0

Change this with:

route delete default
route add default 198.51.79.14

You'll have to figure out something to make this more permanent,
i.e. fix your login scripts.

HTH,

Steve Kehlet


Andrew Solberg (asolberg@mycrowynn.com) wrote:

: This is my setup:
: FreeBSD 2.1-Release running pppd.  My ISP has given me 30 IPs.  My FreeBSD box
: is called "athena" (198.51.77.65) and the dial up terminal server is 
: 198.51.77.14.  I have several NT, 95, and Win 3.11 machines on the local 
: network.  These are 198.51.77.66 -> 198.51.77.75.  I can access the FreeBSD 
: box fine with my other machines (on the local net).  Under a few 2.1-SNAPs, I 
: was able to access internet from any of the machines on the local net.  I had 
: the kernel compile with GATEWAY option.

: The problem:
: Now I installed 2.1-RELEASE.  I have the same pppd dialup scripts.  I compiled
: the kernel with GATEWAY option.  In my sysconfig, I have gateway=YES.  On 
: athena, I can access internet, but no other computers on the network can
: access internet.  netstat -rn give the following:

: Routing tables

: Internet:
: Destination      Gateway            Flags     Refs     Use     Netif Expire
: default          198.51.77.65       UGSc        6      105       ed1
: 127.0.0.1        127.0.0.1          UH          0        0       lo0
: 198.51.77.64     link#1             UC          0        0 
: 198.51.77.65     0:0:e8:8:47:c      UHLW        5        0       lo0
: 198.51.77.70     0:20:af:e9:4c:80   UHLW        0       18       ed1    636
: 198.51.77.73     0:aa:0:1a:fc:f5    UHLW        0       78       ed1    347
: 198.51.77.95     link#1             UHLW        1       11 
: 198.51.79.14     198.51.77.65       UH          0        0      ppp0

: Any idea to the new problem that I am having???  It seems that things are not
: getting send from ed1 to ppp0.  Did any kernel options change that might 
: prevent this from working.  My 2.1-RELEASE and older 2.1-SNAPs were the same.

: asolberg@mycrowynn.com

: --
:  >> Andrew Solberg
: <<  Mycrowynn Corporation
:  >> asolberg@mycrowynn.com

--
Steven Kehlet
kehlet@sumatra.ni.net	<-- Running FreeBSD 2.0-950322-SNAP
kehlet@netcom.com