Date: Wed, 05 May 2010 17:48:19 +0100 From: John Bayly <john.bayly@tipstrade.net> To: freebsd-net@freebsd.org Subject: Re: ppp not removing address when disconnected Message-ID: <4BE1A153.4020609@tipstrade.net> In-Reply-To: <20100505161447.GA59765@in-addr.com> References: <4BE19507.40706@tipstrade.net> <20100505161447.GA59765@in-addr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BE1A153.4020609>