From owner-freebsd-pf@FreeBSD.ORG Fri Aug 21 21:36:35 2009 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78ED3106568B for ; Fri, 21 Aug 2009 21:36:35 +0000 (UTC) (envelope-from barowc@telenet.net) Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.122]) by mx1.freebsd.org (Postfix) with ESMTP id 452958FC16 for ; Fri, 21 Aug 2009 21:36:34 +0000 (UTC) Received: from [127.0.0.1] (really [72.224.2.244]) by cdptpa-omta04.mail.rr.com with ESMTP id <20090821200230545.OQLC6077@cdptpa-omta04.mail.rr.com> for ; Fri, 21 Aug 2009 20:02:30 +0000 Message-ID: <4A8EFD59.6070106@telenet.net> Date: Fri, 21 Aug 2009 16:02:33 -0400 From: barowc@telenet.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Thunderbird/3.0b3 MIME-Version: 1.0 To: freebsd-pf@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 090820-0, 08/20/2009), Outbound message X-Antivirus-Status: Clean X-Mailman-Approved-At: Fri, 21 Aug 2009 21:46:13 +0000 Subject: ALTQ and bandwidth limiting X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Aug 2009 21:36:35 -0000 I am about to install a machine at a co-location facility and I would like to limit the bandwidth on my interface to match the bandwidth i have contracted for. This is necessary because the connection i will have is not limited, but my usage is. I have added the following two lines to my pf.conf file, but this does not appear to be working. altq on $External cbq bandwidth 1Mb queue { std } queue std bandwidth 1Mb cbq(default) I assume all rules on $External will now default to this queue, and should be limited to 1Mb. I hav even specified the queue on the External rules, and there is still no limiting. Any help would be appreciated, Chris