Date: Wed, 11 Aug 1999 20:58:06 -0700 From: Kent Stewart <kstewart@3-cities.com> To: Mike Bush <mab@kougars.kish.cc.il.us> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ppp -auto hmmms Message-ID: <37B2464E.FA9958A2@3-cities.com> References: <Pine.GHP.4.10.9908111824060.27807-100000@kougars.kish.cc.il.us>
next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,POINTOPOINT,RUNNING,MULTICAST> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37B2464E.FA9958A2>