From owner-freebsd-questions@FreeBSD.ORG Sun Apr 5 09:16:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F991106564A for ; Sun, 5 Apr 2009 09:16:04 +0000 (UTC) (envelope-from martin@saturn.pcs.ms) Received: from mail4.hostpark.net (mail4.hostpark.net [212.243.197.34]) by mx1.freebsd.org (Postfix) with ESMTP id 264D78FC15 for ; Sun, 5 Apr 2009 09:16:03 +0000 (UTC) (envelope-from martin@saturn.pcs.ms) Received: from localhost (localhost [127.0.0.1]) by mail4.hostpark.net (Postfix) with ESMTP id AE3BA3F326; Sun, 5 Apr 2009 10:55:00 +0200 (CEST) X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Received: from mail4.hostpark.net ([127.0.0.1]) by localhost (mail4.hostpark.net [127.0.0.1]) (amavisd-new, port 10124) with ESMTP id KrsUShTCfs0W; Sun, 5 Apr 2009 10:55:00 +0200 (CEST) Received: from saturn.pcs.ms (93-47.106-92.cust.bluewin.ch [92.106.47.93]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail4.hostpark.net (Postfix) with ESMTP id 90A873F324; Sun, 5 Apr 2009 10:55:00 +0200 (CEST) Received: from saturn.pcs.ms (localhost [127.0.0.1]) by saturn.pcs.ms (8.14.3/8.14.2) with ESMTP id n358wYhx045097; Sun, 5 Apr 2009 10:58:35 +0200 (CEST) (envelope-from martin@saturn.pcs.ms) Received: (from martin@localhost) by saturn.pcs.ms (8.14.3/8.14.3/Submit) id n358wY6x045096; Sun, 5 Apr 2009 10:58:34 +0200 (CEST) (envelope-from martin) Date: Sun, 5 Apr 2009 10:58:34 +0200 From: Martin Schweizer To: freebsd-questions@freebsd.org Message-ID: <20090405085834.GL72129@saturn.pcs.ms> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Organization: PC-Service M. Schweizer GmbH, CH-8608 Bubikon, Switzerland X-PGP-Key: http://www.pc-service.ch/pgp/public_key.asc X-Fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239 Subject: ipfw: bandwidth limiting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Schweizer List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Apr 2009 09:16:04 -0000 Hello My system: FreeBSD firewall 7.0-RELEASE FreeBSD 7.0-RELEASE #3: Fri Feb 6 10:47:08 CET 2009 martin@firewall:/usr/obj/usr/src/sys/FREEBSD_AMD64 amd64 I use the following rule in my /etc/rc.firewall: [snip] $ipfwcmd pipe 1 config bw 80KByte/s $ipfwcmd add pipe 1 ip from any to 192.168.10.0/24{100-254} via em1 [snip] I'm not sure it works. When I do a large download which takes long and anybody else want download too, this download will only get a reduce bandwidth. I expect that the second download get same rate as the first one (and reduce the bandwidth from the first one). Is that correct? Kind regards, -- Martin Schweizer PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239;