From owner-freebsd-pf@FreeBSD.ORG Sat Nov 13 20:59:18 2004 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C50D16A4CE for ; Sat, 13 Nov 2004 20:59:18 +0000 (GMT) Received: from ctb-mesg6.saix.net (ctb-mesg6.saix.net [196.25.240.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2995743D1F for ; Sat, 13 Nov 2004 20:59:17 +0000 (GMT) (envelope-from shane@virtek.co.za) Received: from uranus (tbnb-46-49.telkomadsl.co.za [165.165.46.49]) by ctb-mesg6.saix.net (Postfix) with SMTP id 562105E51 for ; Sat, 13 Nov 2004 22:59:14 +0200 (SAST) Message-ID: <000301c4c9c3$8e9c9a50$320a0a0a@uranus> From: "Shane James" To: Date: Sat, 13 Nov 2004 22:58:39 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: FreeBSD ALTQ + PF Problem X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.1 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: Sat, 13 Nov 2004 20:59:18 -0000 Hey guys, I'm having a problem with pf + altq on FreeBSD 5.2.1 (FreeBSD uplink-rtr-jhb.virtek.co.za 5.2.1-RELEASE-p11 FreeBSD 5.2.1-RELEASE-p11 #1: Sat Nov 13 15:59:38 SAST 2004 root@uplink-rtr-jhb.virtek.co.za:/usr/src/sys.altq/i386/compile/UPLINK i386) The Traffic I assign to queue's does not get limited according to the specific limit, it only get's limited by the global bandwidth limited assign to the specific NIC. e.g. I assign traffic to a queue(argon_d) which is limited to 128Kb... but it performs at 256Kb which is what the NIC is set to. therefore not being assigned to it's designated queue. is it at all possible that this is a problem perhaps with my Network cards... if not... any suggestions? pf.conf altq on $uplink_if bandwidth 256Kb hfsc queue { dflt_u, argon_u } queue argon_u hfsc(realtime 64Kb upperlimit 64Kb) queue dflt_u hfsc(default upperlimit 128Kb) altq on $hosting_if bandwidth 256Kb hfsc queue { dflt_d, argon_d } queue argon_d hfsc(realtime 64Kb upperlimit 64Kb) queue dflt_d hfsc(default upperlimit 128Kb) #assign argon traffic pass out on $uplink_if from 196.23.168.137 to any keep state queue argon_u pass out on $hosting_if from any to 196.23.168.137 keep state queue argon_d Kind Regards, Shane James shane@phpboy.co.za