*BSD News Article 63592


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!usenet.ins.cwru.edu!pravda.aa.msen.com!nntp.coast.net!howland.reston.ans.net!newsfeed.internetmci.com!info.ucla.edu!csulb.edu!csus.edu!news.ucdavis.edu!rocky.ucdavis.edu!not-for-mail
From: itchris@rocky.ucdavis.edu (Christopher Lambertus)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: pppd hosed, phantom routes
Date: 14 Mar 1996 05:24:35 GMT
Organization: University of California, Davis
Lines: 61
Message-ID: <4i8aij$1lq@mark.ucdavis.edu>
NNTP-Posting-Host: rocky.ucdavis.edu
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]


Heya,

I'm currently using 2.1R (pppd from 2.1-stable) as a remote 
PPP server for a sparc and a few other machines over a 28.8k modem.

The setup is:

ether -> freebsd |--- ppp over modem ---| sparc -> ether -> other boxes

[freebsd box]
ed0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 128.120.2.38 netmask 0xffffff00 broadcast 128.120.2.255

ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
        inet 128.120.2.38 --> 128.120.2.91 netmask 0xfffffff0 

Here's the problem:

Before I did the following command, the route I deleted did
NOT exist in the routing table, at least according to
netstat -r.

[root@cygnus:~]# route delete 128.120.2.91 128.120.2.38
delete host 128.120.2.91: gateway 128.120.2.38

[root@cygnus:~]# route delete 128.120.2.91 128.120.2.38
writing to routing socket: No such process
delete host 128.120.2.91: gateway 128.120.2.38: not in table

Everytime the PPP line goes down unexpectedly (frequently, I'm
at a loss to explain this too) this "phantom" route will appear
and I will no longer be able to establish a PPP connection without
logging into the freebsd box and manually deleting the phantom
route.  Also interesting is that if I manually delete the route then 
wait a few minutes, it'll come back.  This is truly driving me
bonkers.

My /etc/ppp/options file reads

crtscts
netmask 255.255.255.240
domain ucdavis.edu
modem
proxyarp

I have /etc/ppp/ip-up and ip-down as well, they set routes and proxy arp
entries for the machines behind the sparc.  They don't come anywhere near
setting my phantom route.

Does anyone have any ideas on this?  It's driving me NUTS!

Thanks,

-Chris

-- It's 11:00PM, do you know where your frame pointer is? --
Christopher M. Lambertus         | cmlambertus@ucdavis.edu
IR Distributed Systems Security  | Office: (916) 754-9022 
University of California         | Fax: (916) 752-9145
Davis, California 95616          | Gabbpuy!