From owner-freebsd-stable Sun Dec 17 14: 9:55 2000 From owner-freebsd-stable@FreeBSD.ORG Sun Dec 17 14:09:52 2000 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from Awfulhak.org (awfulhak.demon.co.uk [194.222.196.252]) by hub.freebsd.org (Postfix) with ESMTP id 1CC3137B402 for ; Sun, 17 Dec 2000 14:09:51 -0800 (PST) Received: from hak.lan.Awfulhak.org (root@hak.lan.awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.1/8.11.1) with ESMTP id eBHM7L643586; Sun, 17 Dec 2000 22:07:21 GMT (envelope-from brian@lan.awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.1/8.11.1) with ESMTP id eBHMBcf02957; Sun, 17 Dec 2000 22:11:38 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200012172211.eBHMBcf02957@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: Ron Rosson Cc: freebsd-stable@FreeBSD.ORG, brian@Awfulhak.org Subject: Re: PPP not deleting ip's In-Reply-To: Message from "Ron 'The InSaNe One' Rosson" of "Thu, 14 Dec 2000 16:17:33 PST." <20001214161733.A57811@lunatic.oneinsane.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 17 Dec 2000 22:11:38 +0000 From: Brian Somers Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Yes, /usr/share/examples/ppp/ppp.linkdown.sample. I think ppp really needs a ``set maxifaddrs'' with a default value of 2. > I have a FreeBSD box running 4.1-R running as a Gateway machine for a > small LAN. It is using ijppp for the connection and all is working > well.. I got to looking at it and noticed that everytime it disconnects > it does not delete the IP address it was assigned to before. So when it > connects the next time and gets a different IP it just adds it to tun0. > > Here is my config.. > > default: > allow user * > set server +3000 myadminpass > set speed 115200 > set timeout 600 > set log Phase Chat LCP IPCP CCP tun command > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\ dATDT\\T TIMEOUT 40 CONNECT" > > n2-mppp: > > # This is for multilink modem connection > > set device /dev/cuaa0 /dev/cuaa1 > set phone 1111111 > set authname myauthname > set authkey myauthkey > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 > add default HISADDR > enable dns > > set mrru 1500 > clone 1,2 > link * set mode auto > > Did I miss anything.. > > TIA > -- > ------------------------------------------------------------------------------ > Ron Rosson ... and a UNIX user said ... > The InSaNe One rm -rf * > insane@oneinsane.net and all was /dev/null and *void() > ------------------------------------------------------------------------------ > An interesting statistic: 95.1%. That's about everyone. -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message