Date: Thu, 15 May 1997 21:28:59 -0400 (EDT) From: "Adrian T. Filipi-Martin" <atf3r@cs.virginia.edu> To: Chuck <crtb@capecod.net> Cc: questions@freebsd.org Subject: Re: pppd fails to clear routing table Message-ID: <Pine.SUN.3.90.970515212642.7629D-100000@stretch.cs.Virginia.edu> In-Reply-To: <199705151931.PAA00241@localhost.nih.gov>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 15 May 1997, Chuck wrote: > Sometimes, perhaps half the time, when my line drops (almost always by > the ISP because of a timeout), pppd fails to clear the routes. I tried > to add scripting in /etc/ppp/ip-down to clear the routes, and always > get permission denied; "you must be root to fiddle with route". Now, > man pppd says that ip-down is exec'ed by pppd upon disconnection, as > root. Well, the route command feels differently! > > So there are two issues: > 1. Why is the route table sometimes not cleared? The IP address for the > ppp link will remain sometimes after the line has gone. > > 2. Why does route(8) deny ip-down permission to alter routes? > > Chuck Bacon -- crtb@capecod.net I too have seen this. I do not have an answer, but I would like to amplify this problem report. Aside from the routing, I also find stale ARP entries in the kernel. ip-down cannot remove these for some reason, probablt the same as above. I am forced to go i ans the a 'arp -d' to clear the entry. BTW, I am talkng about on the server side, not the dail-up client. Adrian -- adrian@virginia.edu ---->>>>| Support your local programmer, System Administrator --->>>| STOP Software Patent Abuses NOW! Neurosurgical Visualzation Lab -->>| For an application and information Member: League for Programming Freedom ->| see: http://www.lpf.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.90.970515212642.7629D-100000>