From owner-freebsd-net@FreeBSD.ORG Wed May 5 16:48:23 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 A9CF41065677 for ; Wed, 5 May 2010 16:48:23 +0000 (UTC) (envelope-from john.bayly@tipstrade.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.freebsd.org (Postfix) with ESMTP id 3DAEC8FC0A for ; Wed, 5 May 2010 16:48:22 +0000 (UTC) Received: from intra.tipstrade.net (w-87.cust-5147.ip.static.uno.uk.net [95.172.231.87]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0LnFph-1Nhp8L0xyf-00hm8l; Wed, 05 May 2010 18:48:20 +0200 Received: from [192.168.0.30] (baylyj3.intra [192.168.0.30]) by intra.tipstrade.net (Postfix) with ESMTP id 84653258E5F4 for ; Wed, 5 May 2010 17:47:13 +0100 (BST) Message-ID: <4BE1A153.4020609@tipstrade.net> Date: Wed, 05 May 2010 17:48:19 +0100 From: John Bayly User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <4BE19507.40706@tipstrade.net> <20100505161447.GA59765@in-addr.com> In-Reply-To: <20100505161447.GA59765@in-addr.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX18EQQN8ocSLA14/s0yoZoy0uOvJeHRTuFlwPdV xKwaJLfZJg+zFRskiMIbE/oduZa6Lrn7YlJoi++grWtO/tRUmC wd/QQX4PcOhQ+nerO6r91zXVnn00lqx 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:48:23 -0000 On 05/05/2010 17:14, Gary Palmer wrote: > 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 > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > Gary, In it's the actual IP address that isn't being removed from the interface, all the routing entries for the interface are removed the moment I call close. Also in this case, the default routing is done via a separate interface. John