From owner-freebsd-hackers Tue Aug 13 15:25:28 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 416CB37B400 for ; Tue, 13 Aug 2002 15:25:23 -0700 (PDT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7398A43E42 for ; Tue, 13 Aug 2002 15:25:19 -0700 (PDT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 6279472FC5; Tue, 13 Aug 2002 15:21:59 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 5EC9A72D9E; Tue, 13 Aug 2002 15:21:59 -0700 (PDT) Date: Tue, 13 Aug 2002 15:21:59 -0700 (PDT) From: Doug White To: Len Conrad Cc: freebsd-hackers@freebsd.org Subject: Re: Routing table: removing an invalid entry In-Reply-To: <5.1.0.14.2.20020812213717.02e92928@mail.Go2France.com> Message-ID: <20020813152116.J50258-100000@carver.gumbysoft.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 12 Aug 2002, Len Conrad wrote: > Sorry, I can't find anything in the archives, and two submissions to > -questions got nothing. > > how to remove a route when the destination is totally fubar? [...] > # route delete "64\&0x7f000001" > route: bad address: 64\&0x7f000001 You mean the ones with bogus netmasks? Give the netmask in the 'route delete' arguments. route delete 64 netmask 0x7f000001 That might work :) -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message