ppp not removing address when disconnected

John Bayly john.bayly at tipstrade.net
Wed May 5 16:48:23 UTC 2010


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at 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



More information about the freebsd-net mailing list