Re: Default route (IPv4) demolished by destroying clone (gif/gre) interface

2006-08-17 Thread Yar Tikhiy
On Wed, Aug 16, 2006 at 12:15:25PM -0500, Brooks Davis wrote: On Wed, Aug 16, 2006 at 07:58:44PM +0400, Yar Tikhiy wrote: On Wed, Aug 16, 2006 at 09:54:19AM -0500, Brooks Davis wrote: On Wed, Aug 16, 2006 at 10:23:13AM +0200, Stefan Bethke wrote: Ouch. Don't ppp(8), OpenVPN etc.

Re: Default route (IPv4) demolished by destroying clone (gif/gre) interface

2006-08-17 Thread Yar Tikhiy
On Wed, Aug 16, 2006 at 03:59:13PM -0500, Brooks Davis wrote: On Thu, Aug 17, 2006 at 08:49:27AM +1200, Andrew Thompson wrote: On Wed, Aug 16, 2006 at 12:15:25PM -0500, Brooks Davis wrote: On Wed, Aug 16, 2006 at 07:58:44PM +0400, Yar Tikhiy wrote: On Wed, Aug 16, 2006 at 09:54:19AM

Re: Default route (IPv4) demolished by destroying clone (gif/gre) interface

2006-08-17 Thread Brooks Davis
On Thu, Aug 17, 2006 at 11:16:51AM +0400, Yar Tikhiy wrote: On Wed, Aug 16, 2006 at 03:59:13PM -0500, Brooks Davis wrote: On Thu, Aug 17, 2006 at 08:49:27AM +1200, Andrew Thompson wrote: On Wed, Aug 16, 2006 at 12:15:25PM -0500, Brooks Davis wrote: On Wed, Aug 16, 2006 at 07:58:44PM

Re: Default route (IPv4) demolished by destroying clone (gif/gre) interface

2006-08-16 Thread Igor Robul
On Wed, Aug 16, 2006 at 02:17:50AM +0800, Darryl Yeoh wrote: Nope. Just to be sure, I've tested this on another two machines at my office, both are Maybe gif interface is your default route? ___ freebsd-stable@freebsd.org mailing list

Re: Default route (IPv4) demolished by destroying clone (gif/gre) interface

2006-08-16 Thread Dmitry Pryanishnikov
Hello! On Tue, 15 Aug 2006, Darryl Yeoh wrote: While destroying gif interface, I notice it also removes IPv4 default route. Has anyone else encountered this ? Command: # netstat -rn -f inet Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire

Re: Default route (IPv4) demolished by destroying clone (gif/gre) interface

2006-08-16 Thread Yar Tikhiy
On Tue, Aug 15, 2006 at 07:26:08PM +0200, Stefan Bethke wrote: Am 14.08.2006 um 22:07 schrieb Darryl Yeoh: While destroying gif interface, I notice it also removes IPv4 default route. Has anyone else encountered this ? No problem on a FreeBSD 6.1-STABLE #8: Fri Jun 16 17:15:03 CEST

Re: Default route (IPv4) demolished by destroying clone (gif/gre) interface

2006-08-16 Thread Stefan Bethke
Am 16.08.2006 um 10:11 schrieb Yar Tikhiy: On Tue, Aug 15, 2006 at 07:26:08PM +0200, Stefan Bethke wrote: Am 14.08.2006 um 22:07 schrieb Darryl Yeoh: While destroying gif interface, I notice it also removes IPv4 default route. Has anyone else encountered this ? No problem on a FreeBSD

Re: Default route (IPv4) demolished by destroying clone (gif/gre) interface

2006-08-16 Thread Dmitry Pryanishnikov
Hello! On Wed, 16 Aug 2006, Yar Tikhiy wrote: The question is: Do all the routes really need to be flushed upon the destruction of an interface? I've killed devd on my test machine (yesterday's RELENG_6) and done the following: [EMAIL PROTECTED] ifconfig vlan0 create [EMAIL PROTECTED]

Re: Default route (IPv4) demolished by destroying clone (gif/gre) interface

2006-08-16 Thread Darryl Yeoh
On Wed, 16 Aug 2006 11:46:39 +0300 (EEST) Dmitry Pryanishnikov [EMAIL PROTECTED] wrote: Hello! On Wed, 16 Aug 2006, Yar Tikhiy wrote: The question is: Do all the routes really need to be flushed upon the destruction of an interface? I've killed devd on my test machine (yesterday's

Re: Default route (IPv4) demolished by destroying clone (gif/gre) interface

2006-08-16 Thread Brooks Davis
On Wed, Aug 16, 2006 at 10:23:13AM +0200, Stefan Bethke wrote: Ouch. Don't ppp(8), OpenVPN etc. destroy the tun interface they're using when they exit? Flushing all routes then would be rather harmful. I'm glad I haven't updated to a newer -stable yet then :-) In general, no since tun

Re: Default route (IPv4) demolished by destroying clone (gif/gre) interface

2006-08-16 Thread Yar Tikhiy
On Wed, Aug 16, 2006 at 09:54:19AM -0500, Brooks Davis wrote: On Wed, Aug 16, 2006 at 10:23:13AM +0200, Stefan Bethke wrote: Ouch. Don't ppp(8), OpenVPN etc. destroy the tun interface they're using when they exit? Flushing all routes then would be rather harmful. I'm glad I haven't

Re: Default route (IPv4) demolished by destroying clone (gif/gre) interface

2006-08-16 Thread Stefan Bethke
Am 16.08.2006 um 10:11 schrieb Yar Tikhiy: In turn, pccard_ether will flush all -inet routes if the rc.conf(5) variable removable_route_flush is set to YES, which is its default setting. Why is it doing that, then? From the commit message for 1.23 for src/ etc/pccard_ether, which

Re: Default route (IPv4) demolished by destroying clone (gif/gre) interface

2006-08-16 Thread Brooks Davis
On Wed, Aug 16, 2006 at 07:58:44PM +0400, Yar Tikhiy wrote: On Wed, Aug 16, 2006 at 09:54:19AM -0500, Brooks Davis wrote: On Wed, Aug 16, 2006 at 10:23:13AM +0200, Stefan Bethke wrote: Ouch. Don't ppp(8), OpenVPN etc. destroy the tun interface they're using when they exit? Flushing

Re: Default route (IPv4) demolished by destroying clone (gif/gre) interface

2006-08-16 Thread Andrew Thompson
On Wed, Aug 16, 2006 at 12:15:25PM -0500, Brooks Davis wrote: On Wed, Aug 16, 2006 at 07:58:44PM +0400, Yar Tikhiy wrote: On Wed, Aug 16, 2006 at 09:54:19AM -0500, Brooks Davis wrote: On Wed, Aug 16, 2006 at 10:23:13AM +0200, Stefan Bethke wrote: Ouch. Don't ppp(8), OpenVPN etc.

Re: Default route (IPv4) demolished by destroying clone (gif/gre) interface

2006-08-16 Thread Brooks Davis
On Thu, Aug 17, 2006 at 08:49:27AM +1200, Andrew Thompson wrote: On Wed, Aug 16, 2006 at 12:15:25PM -0500, Brooks Davis wrote: On Wed, Aug 16, 2006 at 07:58:44PM +0400, Yar Tikhiy wrote: On Wed, Aug 16, 2006 at 09:54:19AM -0500, Brooks Davis wrote: On Wed, Aug 16, 2006 at 10:23:13AM

Re: Default route (IPv4) demolished by destroying clone (gif/gre) interface

2006-08-16 Thread Brooks Davis
On Thu, Aug 17, 2006 at 08:49:27AM +1200, Andrew Thompson wrote: On Wed, Aug 16, 2006 at 12:15:25PM -0500, Brooks Davis wrote: On Wed, Aug 16, 2006 at 07:58:44PM +0400, Yar Tikhiy wrote: On Wed, Aug 16, 2006 at 09:54:19AM -0500, Brooks Davis wrote: On Wed, Aug 16, 2006 at 10:23:13AM

Re: Default route (IPv4) demolished by destroying clone (gif/gre) interface

2006-08-15 Thread Stefan Bethke
Am 14.08.2006 um 22:07 schrieb Darryl Yeoh: While destroying gif interface, I notice it also removes IPv4 default route. Has anyone else encountered this ? No problem on a FreeBSD 6.1-STABLE #8: Fri Jun 16 17:15:03 CEST 2006. You don't happen to have any devfs rules that would cause this?

Re: Default route (IPv4) demolished by destroying clone (gif/gre) interface

2006-08-15 Thread Darryl Yeoh
On Tue, 15 Aug 2006 19:26:08 +0200 Stefan Bethke [EMAIL PROTECTED] wrote: Am 14.08.2006 um 22:07 schrieb Darryl Yeoh: While destroying gif interface, I notice it also removes IPv4 default route. Has anyone else encountered this ? No problem on a FreeBSD 6.1-STABLE #8: Fri Jun 16

Default route (IPv4) demolished by destroying clone (gif/gre) interface

2006-08-14 Thread Darryl Yeoh
Hi lists, While destroying gif interface, I notice it also removes IPv4 default route. Has anyone else encountered this ? Command: # netstat -rn -f inet Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default10.1.1.1