From owner-freebsd-questions Wed Oct 3 13:29:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smnolde.com (rr-163-52-193.atl.mediaone.net [24.163.52.193]) by hub.freebsd.org (Postfix) with ESMTP id 8161E37B417 for ; Wed, 3 Oct 2001 13:29:26 -0700 (PDT) Received: from bsd.smnolde.com ([192.168.10.7] helo=bsd) by smnolde.com with esmtp (Exim 3.30 #1) id 15osdx-000GM8-00; Wed, 03 Oct 2001 16:29:25 -0400 Date: Wed, 3 Oct 2001 16:29:22 -0400 (EDT) From: To: Steven Cc: Subject: Re: Fair bandwidth division In-Reply-To: <01100319141400.00382@kyle.offline.org.uk> Message-ID: <20011003162539.C11318-100000@bsd.smnolde.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You may want to look into DUMMYNET and ipfw. ipfw will do the traffic shaping by allocating certain bandwidth to pipes, but I don't know how dynamic it is based on the number of users. Scott Nolde GPG Key 0xD869AB48 smacked into the keyboard previously: >Date: Wed, 3 Oct 2001 19:14:14 +0100 >From: Steven >To: freebsd-questions@FreeBSD.ORG >Subject: Fair bandwidth division > >Hi, > >I have a freebsd 4.1 machine running as a natd router for my home network. >In recent weeks my housemates have started using the file sharing program >kazaa, which downloads its files from several sources at once in an attempt >to saturate as much bandwidth as possible. > >This is a bit of a problem, as I have have found when one person is making a >download with it and using maybe 65k/sec, others in the house (namely me) >get a top speed of maybe 0.5k/sec (from sites which can easily shift at a >much higher speeds). > >I do not wish to divide up the bandwidth on a permenant >basis - it makes no sense as a lot of the time there may only be one person >using the net connection. I would however like to find a way to dynamically >divide the bandwidth "fairly", so that one computer cannot hog all the >bandwidth when others are trying to use the connection too. > >Is there a way of doing this? I've done a few searches but cannot see >anything obvious. > >Thanks > >Steven > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7u3UlvDSQh9hpq0gRAmklAJ9Tm1bGkfCK4gkxnQcjVTdN7+YftwCgit04 CfAx/KLoN77uv/kCDkR30pg= =03kE -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message