From owner-freebsd-ipfw@FreeBSD.ORG Wed Apr 14 13:12:15 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 827A916A4CE for ; Wed, 14 Apr 2004 13:12:15 -0700 (PDT) Received: from c3p0.reverse.net (c3p0.reverse.net [66.225.200.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DF2943D45 for ; Wed, 14 Apr 2004 13:12:15 -0700 (PDT) (envelope-from mcgehrin@reverse.net) Received: from localhost (mx1.reverse.net [66.225.200.254]) by c3p0.reverse.net (Postfix) with ESMTP id B77A2801 for ; Wed, 14 Apr 2004 16:12:12 -0400 (EDT) Received: by localhost (Postfix, from userid 1012) id A03075E64; Wed, 14 Apr 2004 16:12:12 -0400 (EDT) Received: from orange (unknown [192.168.0.175]) by localhost (Postfix) with SMTP id B14015E45 for ; Wed, 14 Apr 2004 16:12:11 -0400 (EDT) Message-ID: <001a01c4225c$c54d2740$af00a8c0@orange> From: "Matthew McGehrin" To: References: <200404141513.i3EFDR5R084225@lk106.tempest.sk> Date: Wed, 14 Apr 2004 16:12:11 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) X-Spam-Status: No, hits=-4.0 required=4.0 tests=BAYES_00 autolearn=ham version=2.63 X-Spam-Level: Subject: Re: limiting bandwith 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: Wed, 14 Apr 2004 20:12:15 -0000 Wouldn't it just make better sense to do the following: ipfw add 10 pipe 10 tcp from A to B 25 ipfw pipe 10 config bw 256k queue 8k mask dst-ip 0xff000000 ipfw add 1000 pass tcp from A to B 25 setup -- Matthew ----- Original Message ----- From: "Ludo Koren" To: Cc: ; Sent: Wednesday, April 14, 2004 11:13 AM Subject: Re: limiting bandwith > ipfw add queue 3 tcp from A to B 25 > ipfw queue 3 config weight 1 pipe 10 mask src-ip 0x000000ff > ipfw pipe 10 config bw 256Kbit/s