ppp not removing address when disconnected

Gary Palmer gpalmer at freebsd.org
Wed May 5 16:40:44 UTC 2010


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


More information about the freebsd-net mailing list