From owner-freebsd-questions Fri Sep 28 4:49:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mmu.edu.my (ext-dns.mmu.edu.my [203.106.62.11]) by hub.freebsd.org (Postfix) with ESMTP id 85A0037B406 for ; Fri, 28 Sep 2001 04:48:44 -0700 (PDT) Received: from venus.cyber.mmu.edu.my (venus.cyber.mmu.edu.my [203.106.62.12]) by mmu.edu.my (8.9.1b+Sun/8.9.1) with ESMTP id TAA26467; Fri, 28 Sep 2001 19:44:44 +0800 (MYT) Received: from there ([10.100.99.40]) by venus.cyber.mmu.edu.my (8.8.8+Sun/8.8.8) with SMTP id TAA19665; Fri, 28 Sep 2001 19:44:38 +0800 (SGT) Message-Id: <200109281144.TAA19665@venus.cyber.mmu.edu.my> Content-Type: text/plain; charset="iso-8859-1" From: nuzrin yaapar Reply-To: nuzrin@goose.net.my Organization: multimedia university To: Walter Hop , FreeBSD Questions Subject: Re: Fair bandwidth sharing with ipfw? Date: Fri, 28 Sep 2001 19:58:33 +0800 X-Mailer: KMail [version 1.3] References: <19743634202.20010928031728@binity.com> In-Reply-To: <19743634202.20010928031728@binity.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Try looking at ALTQ, it can do what you describe. But last I check it still doesn't have a patch for FreeBSD 4.4, only patchset until 4.3 is available. Not relevant to the question somehow...does anyone have any idea as to whether ALTQ will be integrated to the main FreeBSD tree? It will be nice to have this thing in the base distribution, and thus many more reason to use FreeBSD!!! On Friday 28 September 2001 9:17 am, Walter Hop wrote: > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message