From owner-freebsd-net@FreeBSD.ORG Fri May 19 12:20:24 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.ORG Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD7C616A42A for ; Fri, 19 May 2006 12:20:24 +0000 (UTC) (envelope-from b.candler@pobox.com) Received: from rune.pobox.com (rune.pobox.com [208.210.124.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 305EB43D62 for ; Fri, 19 May 2006 12:20:18 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from rune (localhost [127.0.0.1]) by rune.pobox.com (Postfix) with ESMTP id 55E891868A; Fri, 19 May 2006 08:20:39 -0400 (EDT) Received: from mappit.local.linnet.org (212-74-113-67.static.dsl.as9105.com [212.74.113.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by rune.sasl.smtp.pobox.com (Postfix) with ESMTP id 14068F964; Fri, 19 May 2006 08:20:37 -0400 (EDT) Received: from lists by mappit.local.linnet.org with local (Exim 4.61 (FreeBSD)) (envelope-from ) id 1Fh3xm-0003VG-JH; Fri, 19 May 2006 13:20:14 +0100 Date: Fri, 19 May 2006 13:20:14 +0100 From: Brian Candler To: Alexandre Biancalana Message-ID: <20060519122014.GA13432@uk.tiscali.com> References: <200605181615.k4IGFr1h020752@lurza.secnetix.de> <446CB453.4000707@seudns.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <446CB453.4000707@seudns.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-net@FreeBSD.ORG Subject: Re: Can't delete route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 12:20:24 -0000 On Thu, May 18, 2006 at 02:52:19PM -0300, Alexandre Biancalana wrote: > > > # route add 128.110.0.0 255.255.0.0 10.0.0.17 > > > add net 128.110.0.0: gateway 255.255.0.0 ... > > > Running netstat -nr I get the following: > > > > > > 0&0xa000011 255.255.0.0 UGSc 15 332 fxp0 => ... > Have some way to remove this stupid route without flushing the routing > table ??? > This machine is main gateway of the company and I can't do a route flush > now, but I need to have this new route working... Try: # route delete -net 0.0.0.0 -netmask 10.0.0.17 (i.e. network 0, netmask &a000011, like the netstat entry shows). I've tried it here, it successfully removes your junk route under 6.0 Regards, Brian.