From owner-freebsd-ipfw@FreeBSD.ORG Mon Apr 28 07:39:55 2003 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7CDC37B401 for ; Mon, 28 Apr 2003 07:39:55 -0700 (PDT) Received: from arthur.nitro.dk (port324.ds1-khk.adsl.cybercity.dk [212.242.113.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35FAA43F85 for ; Mon, 28 Apr 2003 07:39:55 -0700 (PDT) (envelope-from simon@arthur.nitro.dk) Received: by arthur.nitro.dk (Postfix, from userid 1000) id 5C5BF10BF90; Mon, 28 Apr 2003 16:39:54 +0200 (CEST) Date: Mon, 28 Apr 2003 16:39:54 +0200 From: "Simon L. Nielsen" To: SKU Message-ID: <20030428143954.GL398@nitro.dk> References: <20030428001533.GA20138@palomine.net> <20030428080632.GH398@nitro.dk> <20030428121328.GA50735@palomine.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sHrvAb52M6C8blB9" Content-Disposition: inline In-Reply-To: <20030428121328.GA50735@palomine.net> User-Agent: Mutt/1.5.4i cc: SKU cc: ipfw@freebsd.org Subject: Re: Traffic Shaper Question X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2003 14:39:56 -0000 --sHrvAb52M6C8blB9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2003.04.28 08:13:28 -0400, SKU wrote: >=20 > Actually I do have Dummynet in the kernel: >=20 > pfw pipe show > 00001: 250.000 Kbit/s 0 ms 50 sl. 0 queues (1 buckets) droptail > mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 > 00002: 1.280 Mbit/s 0 ms 50 sl. 0 queues (1 buckets) droptail > mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 > q00001: weight 1 pipe 1 50 sl. 1 queues (1 buckets) droptail > mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 >=20 > Only certain weights refuse to work and I have no idea why. Strange.. works fine here : [root@arthur:simon] /sbin/ipfw pipe 1 config bw 250Kbits/s [root@arthur:simon] /sbin/ipfw pipe 2 config bw 155Kbytes/s [root@arthur:simon] /sbin/ipfw queue 1 config pipe 2 weight 1 [root@arthur:simon] /sbin/ipfw queue 2 config pipe 2 weight 1 [root@arthur:simon] /sbin/ipfw queue 3 config pipe 1 weight 1 [root@arthur:simon] ipfw pipe show 00001: 250.000 Kbit/s 0 ms 50 sl. 0 queues (1 buckets) droptail mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 00002: 1.240 Mbit/s 0 ms 50 sl. 0 queues (1 buckets) droptail mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 q00001: weight 1 pipe 2 50 sl. 0 queues (1 buckets) droptail mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 q00002: weight 1 pipe 2 50 sl. 0 queues (1 buckets) droptail mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 q00003: weight 1 pipe 1 50 sl. 0 queues (1 buckets) droptail mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 [root@arthur:simon] uname -a FreeBSD arthur.nitro.dk 4.8-STABLE FreeBSD 4.8-STABLE #0: Thu Apr 24 12:53:= 37 CEST 2003 simon@arthur.nitro.dk:/usr/obj/usr/src/sys/ARTHUR i386 I'm using IPFW2 but I don't know if that matters. Which FreeBSD version are you using ? --=20 Simon L. Nielsen --sHrvAb52M6C8blB9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+rT068kocFXgPTRwRAmf7AJ9k/+6sSMHsfdCTezNxeF1LaENEGgCgiuaQ V09Pv1CXqjmTzZ4ARiv6aas= =kKVU -----END PGP SIGNATURE----- --sHrvAb52M6C8blB9--