From owner-freebsd-net Wed May 27 05:52:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA22493 for freebsd-net-outgoing; Wed, 27 May 1998 05:52:45 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from itesec.hsc.fr (root@itesec.hsc.fr [192.70.106.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA22478 for ; Wed, 27 May 1998 05:52:32 -0700 (PDT) (envelope-from pb@hsc.fr) Received: from mars.hsc.fr (mars.hsc.fr [192.70.106.44]) by itesec.hsc.fr (8.8.8/8.8.5/itesec-1.12-nospam) with ESMTP id OAA13469 for ; Wed, 27 May 1998 14:52:26 +0200 (MET DST) Received: (from pb@localhost) by mars.hsc.fr (8.8.8/8.8.8/pb-19980526) id OAA01279 for freebsd-net@freebsd.org; Wed, 27 May 1998 14:48:58 +0200 (CEST) (envelope-from pb) Message-ID: <19980527144857.A1208@mars.hsc.fr> Date: Wed, 27 May 1998 14:48:57 +0200 From: Pierre Beyssac To: freebsd-net@FreeBSD.ORG Subject: Re: weird route behaviour (2.2.6) References: <19980527135617.A733@mars.hsc.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.92.8i In-Reply-To: <19980527135617.A733@mars.hsc.fr>; from Pierre Beyssac on Wed, May 27, 1998 at 01:56:17PM +0200 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, May 27, 1998 at 01:56:17PM +0200, Pierre Beyssac wrote: > Uh, I'm having the following strange routing table problem on a > freshly-installed 2.2.6 system. > # route add a.b.c.192 -netmask 0xffffffe0 a.b.c.58 1 ^ I got it, it seems FreeBSD doesn't understand the old "route metric" syntax. Instead, it uses this as a netmask, thus the weird behaviour. Netstat doesn't show this (it only shows "prefixable" masks). -- Pierre.Beyssac@hsc.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message