From owner-freebsd-ipfw@FreeBSD.ORG Mon Aug 8 18:48:03 2005 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 C2A7F16A41F for ; Mon, 8 Aug 2005 18:48:03 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from postfix4-2.free.fr (postfix4-2.free.fr [213.228.0.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 671D143D49 for ; Mon, 8 Aug 2005 18:48:03 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by postfix4-2.free.fr (Postfix) with ESMTP id E34FC3233F7; Mon, 8 Aug 2005 20:48:01 +0200 (CEST) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id 485C2405B; Mon, 8 Aug 2005 20:48:16 +0200 (CEST) Date: Mon, 8 Aug 2005 20:48:16 +0200 From: Jeremie Le Hen To: vladone Message-ID: <20050808184816.GO45385@obiwan.tataz.chchile.org> References: <868811314.20050808145718@spaingsm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <868811314.20050808145718@spaingsm.com> User-Agent: Mutt/1.5.9i Cc: freebsd-ipfw@freebsd.org Subject: Re: teoretical question about ipfw 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, 08 Aug 2005 18:48:03 -0000 Hi, > I have this situation: > ipfw pipe 1 config bw 512kbits/s > ipfw queue 1 config pipe 1 mask dst-ip 0xffffff > ipfw add queue 1 ip from any to any out via $private_interface > > Acording with man pages, this configurations give to each host same > bandwith. > My question: > I have 2 users: > first download an file from an good server with maximum speed posibil > second download an file with very little speed from another server > > My rules split bandwith equal for both users in this case? More > exactly, each user have 256kbits/s, even if an user cannot > use all bandwith? I'm not 100% sure about it, but as a long time user of ipfw/dummynet, I would say that bandwidth not used by the second one will be given to the first one. However Luigi surely has the right answer on this. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >