From owner-freebsd-net@FreeBSD.ORG Tue Jan 31 02:43:54 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 3065A16A420 for ; Tue, 31 Jan 2006 02:43:54 +0000 (GMT) (envelope-from chengjin@cs.caltech.edu) Received: from blizzard.cs.caltech.edu (blizzard.cs.caltech.edu [131.215.44.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF7F643D49 for ; Tue, 31 Jan 2006 02:43:53 +0000 (GMT) (envelope-from chengjin@cs.caltech.edu) Received: from localhost (flood.cs.caltech.edu [131.215.44.31]) by blizzard.cs.caltech.edu (Postfix) with ESMTP id A4FC34021CF for ; Mon, 30 Jan 2006 18:43:53 -0800 (PST) Received: from blizzard.cs.caltech.edu ([131.215.44.2]) by localhost (flood.cs.caltech.edu [131.215.44.31]) (amavisd-new, port 10024) with ESMTP id 31837-04 for ; Mon, 30 Jan 2006 18:43:53 -0800 (PST) Received: from orchestra.cs.caltech.edu (orchestra.cs.caltech.edu [131.215.44.20]) by blizzard.cs.caltech.edu (Postfix) with ESMTP id F2957402177 for ; Mon, 30 Jan 2006 18:43:52 -0800 (PST) Received: by orchestra.cs.caltech.edu (Postfix, from userid 20269) id 36C35103B8C; Mon, 30 Jan 2006 18:43:50 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by orchestra.cs.caltech.edu (Postfix) with ESMTP id A0DB0103B87 for ; Mon, 30 Jan 2006 18:43:50 -0800 (PST) Date: Mon, 30 Jan 2006 18:43:50 -0800 (PST) From: Cheng Jin To: freebsd-net@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: 5.4 ipfw doesnt like Mbit/s notation? 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: Tue, 31 Jan 2006 02:43:54 -0000 Hi, I was trying to configure Dummynet on a machine that also acts like a bridge and found something really odd. even though the ipfw man page says that one could specify the bw in either Kbit/s or Mbit/s. whenever i tried using Mbit/s, the bw was auotmatically set to 1 bit/s! Once i multiply by 1000 and switch to Kbit/s, everything works fine. i have a 5.4 FreeBSD system. I searched on google, but didn't find anyone else reporting this problem. Thanks, Cheng