From owner-freebsd-ipfw@FreeBSD.ORG Thu Jul 8 15:38:07 2004 Return-Path: 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 29EAD16A4CE for ; Thu, 8 Jul 2004 15:38:07 +0000 (GMT) Received: from mail.1wisp.com (uslec-66-255-6-131.cust.uslec.net [66.255.6.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E6FE43D48 for ; Thu, 8 Jul 2004 15:38:06 +0000 (GMT) (envelope-from tscrum@1wisp.com) Received: from wolf (69-166-70-88.atlsfl.adelphia.net [69.166.70.88]) (authenticated) by mail.1wisp.com (8.11.6/8.11.6) with ESMTP id i68Fc5R19845 for ; Thu, 8 Jul 2004 11:38:05 -0400 From: "Thomas S. Crum - 1WISP, Inc." To: "'FreeBSD IPFW'" Date: Thu, 8 Jul 2004 11:36:59 -0400 Message-ID: <002601c46501$904a7d30$0200a8c0@wolf> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0027_01C464E0.0938DD30" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2739.300 In-Reply-To: <20040707172854.8442.qmail@web51909.mail.yahoo.com> X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Dummynet Queue Weighting X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2004 15:38:07 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0027_01C464E0.0938DD30 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable # SAMPLE CONFIG ipfw queue 1 ip from A to B ipfw queue 1 config weight 10 pipe 1 ipfw queue 2 ip from C to D ipfw queue 2 config weight 5 pipe 1 ipfw queue 3 ip from E to F ipfw queue 3 config weight 1 pipe 1 ipfw pipe 1 config bw 1000Kbit/s Question? When setting up queues as I have done above with different weights they = (the queues) will share the assigned pipe proportionate to their weight. For example if you had traffic on all three queues, the A&B(1), C&D(2), = and E&F(3); they would get 10/16, 5/16, and 1/16 of the pipe, respectively. But, what if A&B(1) had no traffic? It is my understanding that queue 2 = and 3 would still only get 5/16 and 1/16 of the pipe regardless. In this example, 3/8 or 375Kb/s total. Or would 2 and 3 share the whole pipe if queue 1 is inactive, which would make my questions moot? What I am trying to accomplish here is to give a greater amount of = bandwidth between 2 ip's when they are active. But they are hardly ever active = and therefore I want the rest of the network to use the whole pipe until = they become active. Any comments and particularly suggestions are appreciated. If I'm = entirely wrong with my presumptions mention that too. :) Best, =20 Thomas S. Crum Senior Technical Associate tscrum@aaawebsolution.com Toll-free: (800) 834-0626 =20 AAA Web Solution, Inc. 11924 W Forest Hill Boulevard Building 22 - Mailstop 200 Wellington, FL 33414 USA =20 Providing full-service website design, maintenance, hosting, and = marketing. No task is too small or enterprise too large for us to help you! =20 -------------------------------------------------------------------------= --- ------=_NextPart_000_0027_01C464E0.0938DD30--