From owner-freebsd-questions@FreeBSD.ORG Tue Apr 1 22:45:20 2008 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 1AECD106564A for ; Tue, 1 Apr 2008 22:45:20 +0000 (UTC) (envelope-from freebsd@top-consulting.net) Received: from mx.emailarray.com (mx1.polarismail.com [69.28.212.202]) by mx1.freebsd.org (Postfix) with ESMTP id 9BB9F8FC16 for ; Tue, 1 Apr 2008 22:45:19 +0000 (UTC) (envelope-from freebsd@top-consulting.net) Received: (qmail 10248 invoked from network); 1 Apr 2008 22:18:39 -0000 Received: from cust02.top-consulting.net (HELO localhost) (freebsd@top-consulting.net@69.28.212.222) (POLARISLOCAL) by mx.emailarray.com with SMTP; 1 Apr 2008 22:18:38 -0000 Received: from vpn.top-consulting.net (vpn.top-consulting.net [69.90.179.8]) by mail.top-consulting.net (Horde Framework) with HTTP; Tue, 01 Apr 2008 18:18:36 -0400 Message-ID: <20080401181836.13596owuuxf9az48@mail.top-consulting.net> Date: Tue, 01 Apr 2008 18:18:36 -0400 From: freebsd@top-consulting.net To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) X-Originating-IP: 69.90.179.8 X-DSPAM-Result: Innocent X-DSPAM-Processed: Tue Apr 1 18:18:39 2008 X-DSPAM-Confidence: 0.8664 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 1,47f2b4bf4571651766879 X-DSPAM-Factors: 27, Message-ID*mail.top, 0.00882, Message-ID*mail.top+consulting.net>, 0.00969, have+1000, 0.01000, I+define, 0.01000, bandwidth+available, 0.01000, doesn't+do, 0.01901, port+80, 0.02353, the+bandwidth, 0.03802, From*top+consulting.net, 0.04019, on+port, 0.05204, not+sure, 0.07714, Message-ID*consulting.net>, 0.07870, connections+and, 0.07976, I've+tried, 0.08548, bandwidth, 0.10414, am+trying, 0.11728, ?, 0.15138, port, 0.15361, I+need, 0.15649, I+need, 0.15649, limit+the, 0.15817, define+a, 0.16501, to+limit, 0.18635, connection+will, 0.81067, it+doesn't, 0.19062, User-Agent*Messaging+Program, 0.80396, User-Agent*Internet+Messaging, 0.80387 Subject: FreeBSD Traffic Shaping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2008 22:45:20 -0000 I am trying to limit the bandwidth available to some connections and I'm not sure FreeBSD can handle this. Maybe some of you can help. Here's what I need to have exactly. No matter what the number of connections, each connection should have at most/least 50kbps guaranteed outbound on port 80. I've tried dummynet but it doesn't do what I need because if I define a pipe with 1mbps and if I have 1000 connections, each connection will have less than 50kbps. Any way to do this in FreeBSD ?