From owner-freebsd-net Thu Jun 1 3: 1:15 2000 Delivered-To: freebsd-net@freebsd.org Received: from info.iet.unipi.it (info.iet.unipi.it [131.114.9.184]) by hub.freebsd.org (Postfix) with ESMTP id B897437B665 for ; Thu, 1 Jun 2000 03:01:11 -0700 (PDT) (envelope-from luigi@info.iet.unipi.it) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.3/8.9.3) id MAA65332; Thu, 1 Jun 2000 12:01:11 +0200 (CEST) (envelope-from luigi) From: Luigi Rizzo Message-Id: <200006011001.MAA65332@info.iet.unipi.it> Subject: WF2Q+ available for dummynet To: net@freebsd.org Date: Thu, 1 Jun 2000 12:01:11 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I have a preliminary version of the long awaited WF2Q+ support in dummynet. A picobsd image is available for testing purposes at http://www.iet.unipi.it/~luigi/picobsd.000530.bin (when the image boots, you can login as 'root' password 'setup') and a (probably cryptic) manpage at http://www.iet.unipi.it/~luigi/ipfw.8 Basic configuration for testing (read the manpage for more) ipfw add queue 1 ip from any to any ipfw queue 1 config weight 10 pipe 3 mask all queue 20 ipfw pipe 10 config bw 100Kbit/s basically a 'queue' object defines how packets are partitioned into flows, and the weight associated with each flow. The 'pipe' object that the queue points to is then used to set the overall rate, which is then shared among the flows according to their weights. You can have multiple 'queue' point to the same 'pipe' and this way you can have flows with different weights. If you try this floppy please provide feedback, even if it is just to say that it works fine - thanks :) cheers luigi -----------------------------------+------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL/FAX: +39-050-568.533/522 . via Diotisalvi 2, 56126 PISA (Italy) Mobile +39-347-0373137 -----------------------------------+------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message