*BSD News Article 34538


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!vixen.cso.uiuc.edu!usenet.ucs.indiana.edu!mimosa.astro.indiana.edu!pitts
From: pitts@mimosa.astro.indiana.edu (Jim Pitts)
Subject: Does 'route flush' work?
Message-ID: <CuqIwJ.7MM@usenet.ucs.indiana.edu>
Sender: news@usenet.ucs.indiana.edu (USENET News System)
Nntp-Posting-Host: mimosa.astro.indiana.edu
Organization: Indiana University
Date: Thu, 18 Aug 1994 14:29:07 GMT
Lines: 21

Hi,

I am running the 1.1.5.1 release of FreeBSD.  I have just finished a neat
series of scripts.  My machine is connected to a host via uucp.  There are
also ppp dialup lines I have access to.  When I want to get to my machine
from work via ppp, I just uucp a file named 'startppp'.  In 15 minutes
the machine mails me a copy of the output of 'netstat -r' to tell me what
IP number the ppp server assigned it.  After I am done, I touch a file in the
uucppublic directory called 'stopppp' and within 10 minutes the connection is
terminated with the machine going back to ppp.

I want to flush the routing table after all this is done.  Trouble is that
the command 'route flush' does not seem to do anything.

Any help here?

-- 
- pitts@mimosa.astro.indiana.edu            ^       | James J. Pitts        -
- Most people are cattle.  In every        /@\      | IU Physics Dept       -
- generation, a few leaders are born.     /   \     | Voice:   812-855-8247 -
- I am such a leader.                    /_____\    | FAX  :   812-855-5533 -