From owner-freebsd-stable@FreeBSD.ORG Mon Aug 14 20:02:44 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38EB616A4E0 for ; Mon, 14 Aug 2006 20:02:44 +0000 (UTC) (envelope-from drl@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37C1043D49 for ; Mon, 14 Aug 2006 20:02:38 +0000 (GMT) (envelope-from drl@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id D81D71142B for ; Tue, 15 Aug 2006 04:04:13 +0800 (MYT) X-Virus-Scanned: by Amavis running on FreeBSD MTA at TOMOYO.MyBSD.ORG.MY Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (TOMOYO.MyBSD.ORG.MY [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 83L2FJK4njec for ; Tue, 15 Aug 2006 04:04:11 +0800 (MYT) Received: from rogue.netif.org (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 51F6F11435 for ; Tue, 15 Aug 2006 04:04:11 +0800 (MYT) Date: Tue, 15 Aug 2006 04:07:36 +0800 From: Darryl Yeoh To: freebsd-stable@freebsd.org Message-Id: <20060815040736.2f85f090.drl@MyBSD.org.my> Organization: MyBSD X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Default route (IPv4) demolished by destroying clone (gif/gre) interface X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: drl@MyBSD.org.my List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2006 20:02:44 -0000 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: Destination Gateway Flags Refs Use Netif Expire default 10.1.1.1 UGS 0 282 fxp0 10.1.1/24 link#1 UC 0 0 fxp0 10.1.1.1 00:02:b3:a4:40:65 UHLW 2 12 fxp0 1138 10.1.1.55 00:02:b3:a4:40:65 UHLW 1 2 fxp0 1137 127.0.0.1 127.0.0.1 UH 0 14238 lo0 # ifconfig gif0 create ; ifconfig gif0 destroy # netstat -rn -f inet Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 10.1.1/24 link#1 UC 0 0 fxp0 127.0.0.1 127.0.0.1 UH 0 14238 lo0 # uname -a FreeBSD rogue.netif.org 6.1-STABLE FreeBSD 6.1-STABLE #0: Thu Jul 27 23:51:21 MYT 2006 root@rogue.netif.org:/usr/obj/usr/src/sys/ROGUE i386 - Darryl Yeoh