From owner-freebsd-net@FreeBSD.ORG Thu May 18 15:39:21 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 BA81516A40B for ; Thu, 18 May 2006 15:39:21 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74AE743D48 for ; Thu, 18 May 2006 15:39:21 +0000 (GMT) (envelope-from lists@jnielsen.net) Received: from localhost (jn@ns1 [69.55.238.237]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id k4IFdJQN024694; Thu, 18 May 2006 08:39:20 -0700 (PDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-net@freebsd.org Date: Thu, 18 May 2006 11:38:01 -0400 User-Agent: KMail/1.9.1 References: <446C934A.3040600@seudns.net> In-Reply-To: <446C934A.3040600@seudns.net> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605181138.01749.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Alexandre Biancalana 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: Thu, 18 May 2006 15:39:29 -0000 On Thursday 18 May 2006 11:31, Alexandre Biancalana wrote: > Hi List, > > Today I had to add a new route in the company gateway. So I ran the > command: > > # 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 => > > this is incorrect, the interface should be fxp1 not fxp0 (that is the > default interface). And Why the destination network is 0&0xa000011 and > not 128.110.0.0 > > > Trying to delete this route the follow error occur: > > # route delete -net 128.110.0.0 255.255.0.0 10.0.0.17 > route: writing to routing socket: No such process > delete net 128.110.0.0: gateway 255.255.0.0: not in table Try this: route delete -net 128.110.0.0 without any additional parameters. JN