From owner-freebsd-questions Thu Sep 27 18:18: 5 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtpg.casema.net (smtpg.casema.net [195.96.96.160]) by hub.freebsd.org (Postfix) with SMTP id 4288C37B40A for ; Thu, 27 Sep 2001 18:18:00 -0700 (PDT) Received: (qmail 16367 invoked by uid 0); 28 Sep 2001 01:17:55 -0000 Received: from unknown (HELO slash.b118.binity.net) (195.96.105.189) by smtpg.casema.net with SMTP; 28 Sep 2001 01:17:55 -0000 Received: from silver.b118.binity.net (silver.b118.binity.net [172.18.3.10]) by slash.b118.binity.net (Postfix) with ESMTP id 2279E15A for ; Fri, 28 Sep 2001 03:15:59 +0200 (CEST) Received: from 127.0.0.1 ([127.0.0.1]) by silver.b118.binity.net with Microsoft SMTPSVC(5.0.2195.2966); Fri, 28 Sep 2001 03:17:28 +0200 Date: Fri, 28 Sep 2001 03:17:28 +0200 From: Walter Hop X-Mailer: The Bat! (v1.53d) Educational X-Priority: 3 (Normal) Message-ID: <19743634202.20010928031728@binity.com> To: FreeBSD Questions Subject: Fair bandwidth sharing with ipfw? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 28 Sep 2001 01:17:28.0642 (UTC) FILETIME=[56F4BA20:01C147BB] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, I've used dummynet pipes for bandwidth management, which is working out pretty well. Still there is a scenario I haven't dealt with: I want to connect my apartment to an ADSL line (256k/1024kbit) through a FreeBSD natd+ipfw router, and share the bandwidth fairly between the housemates, so that: 1] When only one of the workstations is busy, it can use 90% of the available bandwidth. 2] When multiple workstations are up/downloading, the available bandwidth is divided more or less equally between the workstations. Now in many situations, this balance will appear automatically; but I noticed by tcpdumping that sometimes one station occupies most of the bandwidth while other machines are all stalled -- their transfer rates get back to normal levels when a busy machine is ipfw'ed down. Is this possible with ipfw (ipfw queues perhaps)? Thanks. :) walter -- Buy goods, earn cash, and shop 'til you drop in our member stores. walter@binity.com | +31 6 24290808 | http://www.binity.com/~walter/pgp/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message