From owner-freebsd-questions Fri Aug 13 15:14:55 1999 Delivered-To: freebsd-questions@freebsd.org Received: from awfulhak.org (dynamic-9.max1-du-ws.dialnetwork.pavilion.co.uk [212.74.8.9]) by hub.freebsd.org (Postfix) with ESMTP id 03B8314E8A for ; Fri, 13 Aug 1999 15:14:50 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (root@keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id UAA03815; Fri, 13 Aug 1999 20:56:02 +0100 (BST) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id UAA01486; Fri, 13 Aug 1999 20:58:13 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199908131958.UAA01486@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Kent Stewart Cc: Mike Bush , freebsd-questions@FreeBSD.ORG Subject: Re: ppp -auto hmmms In-reply-to: Your message of "Wed, 11 Aug 1999 20:58:06 PDT." <37B2464E.FA9958A2@3-cities.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 13 Aug 1999 20:58:12 +0100 From: Brian Somers 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. The ``iface clear'' is what does it. If you don't like them at all, use ``disable iface-alias''. > 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/ -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message