From owner-freebsd-questions Wed Aug 11 20:57:56 1999 Delivered-To: freebsd-questions@freebsd.org Received: from revolution.3-cities.com (revolution.3-cities.com [204.203.224.155]) by hub.freebsd.org (Postfix) with ESMTP id D7D2714C15 for ; Wed, 11 Aug 1999 20:57:52 -0700 (PDT) (envelope-from kstewart@3-cities.com) Received: from 3-cities.com (kenn1132.bossig.com [208.26.241.132]) by revolution.3-cities.com (8.9.3/8.9.3) with ESMTP id UAA08775; Wed, 11 Aug 1999 20:57:46 -0700 (PDT) Message-ID: <37B2464E.FA9958A2@3-cities.com> Date: Wed, 11 Aug 1999 20:58:06 -0700 From: Kent Stewart Organization: BOSSig X-Mailer: Mozilla 4.61 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Mike Bush Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ppp -auto hmmms References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Bush wrote: > > Im running FreeBSD 4.0-current. I've setup ppp and it seens to be working > great with alias but i noticed something last week and cant figure out how > to fix it. > > Everytime ppp dials out i get a new dynamic ip which is added to tun0 as > the default route.. great.. the only 'problem' is that ppp isnt deleting > these ip addresses when the connection goes down. I havent reached a limit > yet but i assume there is one at some point (i get about 5 new entrys a > day) > > ifconfig tun0: > tun0: flags=8051 mtu 1500 > inet 127.1.1.1 --> 127.2.2.2 netmask 0xffffff00 > inet 207.40.234.155 --> 255.255.255.255 netmask 0xffffffff > inet 207.40.234.78 --> 207.40.235.236 netmask 0xffffff00 > > this only shows 2 (rebooted 6 hours ago) so there is only one that > shouldnt be there. This morning there was more like 12. > > /etc/ppp/ppp.conf: > > default: > set speed 115200 > set device /dev/cuaa0 > set ctsrts on > set server 7000 blah > alias enable yes > set timeout 3600 > ... > > rochelle: > set phone "5621212" > set login "ogin: user assword: userblah1989" > set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0 > add default HISADDR > > Is this normal for ppp? Thanks for your help in advance :) My setup did what yours did until I cleaned up ppp.linkup and ppp.linkdown. It still happens but not as often. I "ppp -auto pmdemand" instead of "rochelle". I have in my ppp.linkup pmdemand: delete ALL add 0 0 HISADDR In my ppp.linkdown, I have pmdemand: iface clear This seemed to clean it up. Kent > > FreeBSD fan > Mike Bush > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Kent Stewart Richland, WA mailto:kstewart@3-cities.com http://www.3-cities.com/~kstewart/index.html SETI (Search for Extraterrestrial Intelligence) @ Home http://setiathome.ssl.berkeley.edu/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message