*BSD News Article 82371


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!newspump.sol.net!www.nntp.primenet.com!nntp.primenet.com!arclight.uoregon.edu!super.zippo.com!zdc!szdc!szdc-e!news
From: Charlie Conklin <cc@dolphinet.co.uk>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Route problems with ppp
Date: Tue, 05 Nov 1996 07:53:29 +0000
Organization: Dolphin Internet Services
Lines: 55
Message-ID: <327EF279.41C67EA6@dolphinet.co.uk>
References: <323ED0BD.222CA97F@pobox.com> <552p74$23e@polo.demon.co.uk>
	  <554fun$r8v@clarknet.clark.net> <55io8t$jca@uriah.heep.sax.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (X11; I; FreeBSD 2.1.0-RELEASE i386)

Hi All,

I am having trouble with someone who is trying to dial into our
router (netblazer 40) with a static ip address. He dials in fine,
and the route is propogated via RIP. Now, he can ping the rest of the
world, but cannot ping the FreeBSD machine on our local network
(a bit of a problem because it is his primary DNS!).

netstat -nr give something like this...

Destination      Gateway            Flags     Refs     Use     Netif
Expire
default          194.72.241.3       UGSc       45     4318       ep0
127.0.0.1        127.0.0.1          UH          0      982       lo0
194.72.241       link#2             UC          1        0 
194.72.241.1     0:20:af:be:c0:9d   UHLW        4    93242       lo0
194.72.241.3     0:40:ff:8:2:7e     UHLW       50     1219       ep0  
1192
194.72.241.33    194.72.241.3       UGH         0        0       ep0
194.72.241.231   link#2             UHLW        0        3 
224              link#2             UCS         0        0 

where his ip is 194.72.241.231, and 194.72.241.33 is a dynamic address
that works.

What is very odd is that I can masqerade as him, and dialin with another
FreeBSD machine. It is fine for me! When I dialin, netstat -nr looks
like:

Internet:
Destination      Gateway            Flags     Refs     Use     Netif
Expire
default          194.72.241.3       UGSc       62     4342       ep0
127.0.0.1        127.0.0.1          UH          0      997       lo0
194.72.241       link#2             UC          1        0 
194.72.241.1     0:20:af:be:c0:9d   UHLW        7    94455       lo0
194.72.241.3     0:40:ff:8:2:7e     UHLW       66     1219       ep0   
880
194.72.241.33    194.72.241.3       UGH         0        0       ep0
194.72.241.231   194.72.241.3       UGH         1       34       ep0
224              link#2             UCS         0        0 

Note that now the ip address 194.72.241.231 does not have the gateway
as link#2, but as the default gateway. (I don't know what link#2 means,
and could not seem to find it from the netstat man page).

Since it works fine for me, and badly for him, it seems that it must
be something to do with differences in our implementations or
configuration of ppp, but I have no idea what.

Does anyone have any ideas, suggestions?

Thanks...

- Charlie Conklin               cc@dolphinet.co.uk