From owner-freebsd-net@FreeBSD.ORG Sat Nov 26 21:43:12 2005 Return-Path: X-Original-To: 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 A311916A41F for ; Sat, 26 Nov 2005 21:43:12 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from thorn.pobox.com (thorn.pobox.com [208.210.124.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47E4C43D49 for ; Sat, 26 Nov 2005 21:43:12 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from thorn (localhost [127.0.0.1]) by thorn.pobox.com (Postfix) with ESMTP id 7678EE6; Sat, 26 Nov 2005 16:43:33 -0500 (EST) 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 thorn.sasl.smtp.pobox.com (Postfix) with ESMTP id 480E6EBD; Sat, 26 Nov 2005 16:43:32 -0500 (EST) Received: from lists by mappit.local.linnet.org with local (Exim 4.54 (FreeBSD)) id 1Eg7p6-0007Rl-Q1; Sat, 26 Nov 2005 21:43:08 +0000 Date: Sat, 26 Nov 2005 21:43:08 +0000 From: Brian Candler To: "Ricardo A. Reis" Message-ID: <20051126214308.GA28606@uk.tiscali.com> References: <4385EA35.9080705@yahoo.com.br> <20051125143716.GA98953@uk.tiscali.com> <43872BA1.7060203@yahoo.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43872BA1.7060203@yahoo.com.br> User-Agent: Mutt/1.4.2.1i Cc: net@freebsd.org Subject: Re: Bug in routing tables ? 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: Sat, 26 Nov 2005 21:43:12 -0000 On Fri, Nov 25, 2005 at 01:20:01PM -0200, Ricardo A. Reis wrote: > But i use route add 200.144.xx.xx/[mask] 172.22.xx.xx for > many year, and this work perfectly on freebsd and linux. Yes it does (as of a couple of years ago, I think). However if you want to specify the netmask explicitly instead of a prefix length, as the O.P. did, then you have to include the '-netmask' keyword.