From owner-freebsd-ipfw@FreeBSD.ORG Mon Oct 23 17:38:18 2006 Return-Path: X-Original-To: freebsd-ipfw@freebsd.org 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 9071F16A606 for ; Mon, 23 Oct 2006 17:38:18 +0000 (UTC) (envelope-from wash@wananchi.com) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CD6D43D91 for ; Mon, 23 Oct 2006 17:38:00 +0000 (GMT) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.63 #0 (FreeBSD 4.11-STABLE)) id 1Gc3kJ-0005Yb-LM by authid for ; Mon, 23 Oct 2006 20:37:55 +0300 Date: Mon, 23 Oct 2006 20:37:55 +0300 From: Odhiambo WASHINGTON To: freebsd-ipfw@freebsd.org Message-ID: <20061023173755.GH66947@ns2.wananchi.com> References: <1161622713.453cf4b9a2299@imp7-g19.free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1161622713.453cf4b9a2299@imp7-g19.free.fr> X-Disclaimer: Any views expressed in this message, where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.13 (2006-08-11) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. User-Agent: Mutt/1.5.13 (2006-08-11) Sender: Odhiambo Washington Subject: Re: pf's "borrow" equivalent X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Oct 2006 17:38:18 -0000 * On 23/10/06 18:58 +0200, eternityos@free.fr wrote: | | | Hi everyone, | | I'm new to this list, I use ipfw+dummynet for traffic shaping. | I'm having an issue... | I have two users that share a same pipe of 128Kbit/s, so when a user is | not using internet, the other gets 128KBit/s. | | Now my issue is, when both users use internet at the same time, let's say | user A is using a P2P software and user B simply surfing the web. | | Logicaly, user A is taking the whole bandwidth and user B is having issues | surfing. | | I want to guarantee at least 64K, so user A will have at least 64K when using | internet. | | I already asked about this in #freebsd channel in freenode.... and I been | answered | "use pf's borrow option". There is a very good tutorial here: http://alex.kruijff.org/FreeBSD/Firewall_Setup.html The rules will guarantee that each user gets equal share of the available bandwidth ;) -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ //GO.SYSIN DD *, DOODAH, DOODAH