From owner-freebsd-net@FreeBSD.ORG Thu May 18 15:44:33 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 DD4A416A408 for ; Thu, 18 May 2006 15:44:33 +0000 (UTC) (envelope-from joe@joeholden.co.uk) Received: from elise.stf.rewt.org.uk (elise.stf.rewt.org.uk [82.152.108.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FF8243D46 for ; Thu, 18 May 2006 15:44:32 +0000 (GMT) (envelope-from joe@joeholden.co.uk) Received: from [127.0.0.1] ([85.118.159.107]) (authenticated bits=0) by elise.stf.rewt.org.uk (8.13.6/8.13.4) with ESMTP id k4IFiTZO034071; Thu, 18 May 2006 16:44:30 +0100 (BST) (envelope-from joe@joeholden.co.uk) Message-ID: <446C95D6.7080501@joeholden.co.uk> Date: Thu, 18 May 2006 16:42:14 +0100 From: Joe Holden User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: John Nielsen References: <446C934A.3040600@seudns.net> <200605181138.01749.lists@jnielsen.net> In-Reply-To: <200605181138.01749.lists@jnielsen.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.3 required=3.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on elise.stf.rewt.org.uk Cc: freebsd-net@freebsd.org, 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:44:34 -0000 John Nielsen wrote: > 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 > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > I did the above mentioned steps and it added a route that could not be removed, only way to get rid of it was a route flush, it seemingly doesn't like that command for some reason. Thanks, Joe