From owner-freebsd-net@FreeBSD.ORG Thu May 18 15:39:00 2006 Return-Path: <owner-freebsd-net@FreeBSD.ORG> 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 6DA8F16A405 for <freebsd-net@freebsd.org>; Thu, 18 May 2006 15:39:00 +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 C9B6D43D45 for <freebsd-net@freebsd.org>; Thu, 18 May 2006 15:38:59 +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 k4IFchFB033995; Thu, 18 May 2006 16:38:44 +0100 (BST) (envelope-from joe@joeholden.co.uk) Message-ID: <446C947C.9020905@joeholden.co.uk> Date: Thu, 18 May 2006 16:36:28 +0100 From: Joe Holden <joe@joeholden.co.uk> User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Alexandre Biancalana <ale@seudns.net> References: <446C934A.3040600@seudns.net> In-Reply-To: <446C934A.3040600@seudns.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 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 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 <freebsd-net.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>, <mailto:freebsd-net-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-net> List-Post: <mailto:freebsd-net@freebsd.org> List-Help: <mailto:freebsd-net-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>, <mailto:freebsd-net-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 18 May 2006 15:39:08 -0000 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 > > > The company gateway is FreeBSD 4.10-STABLE. > > > Any Ideas ?? > > > > Best Regards, > Alexandre Biancalana > _______________________________________________ > 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" If i remember correctly, 4.x route command will accept cidr, did you try that? ie; route add 128.110/8 10.0.0.17 Thanks, Joe