From owner-freebsd-net@FreeBSD.ORG Wed May 5 16:40:44 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4F5861065672 for ; Wed, 5 May 2010 16:40:44 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from noop.in-addr.com (noop.in-addr.com [208.58.23.51]) by mx1.freebsd.org (Postfix) with ESMTP id 2CE778FC1E for ; Wed, 5 May 2010 16:40:43 +0000 (UTC) Received: from gjp by noop.in-addr.com with local (Exim 4.54 (FreeBSD)) id 1O9hFH-0002mO-SQ; Wed, 05 May 2010 12:14:47 -0400 Date: Wed, 5 May 2010 12:14:47 -0400 From: Gary Palmer To: John Bayly Message-ID: <20100505161447.GA59765@in-addr.com> References: <4BE19507.40706@tipstrade.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BE19507.40706@tipstrade.net> Cc: freebsd-net@freebsd.org Subject: Re: ppp not removing address when disconnected X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 May 2010 16:40:44 -0000 On Wed, May 05, 2010 at 04:55:51PM +0100, John Bayly wrote: > Am I missing something in /etc/ppp/ppp.conf that tells ppp to remove the > address when a connection is down? My workaround is: # cat /etc/ppp/ppp.linkdown provider: shell /bin/sh -c "/sbin/route delete default" shell /bin/sh -c "/sbin/route delete -inet6 default" I had to come up with a quick fix and haven't had the time to find the proper solution to this problem. Regards, Gary