From owner-freebsd-pf@FreeBSD.ORG Sun Oct 29 14:52:03 2006 Return-Path: X-Original-To: freebsd-pf@freebsd.org 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 AE1BB16A403 for ; Sun, 29 Oct 2006 14:52:03 +0000 (UTC) (envelope-from gloomygroup@hotmail.com) Received: from bay0-omc1-s26.bay0.hotmail.com (bay0-omc1-s26.bay0.hotmail.com [65.54.246.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FB6143D77 for ; Sun, 29 Oct 2006 14:51:56 +0000 (GMT) (envelope-from gloomygroup@hotmail.com) Received: from hotmail.com ([207.46.8.247]) by bay0-omc1-s26.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Sun, 29 Oct 2006 06:51:56 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 29 Oct 2006 06:51:56 -0800 Message-ID: Received: from 207.46.8.251 by by118fd.bay118.hotmail.msn.com with HTTP; Sun, 29 Oct 2006 14:51:51 GMT X-Originating-IP: [202.79.53.71] X-Originating-Email: [gloomygroup@hotmail.com] X-Sender: gloomygroup@hotmail.com In-Reply-To: <55e8a96c0610290606g3d38ae67l50e217c1c622ec2a@mail.gmail.com> From: "Gloomy Group" To: bill.marquette@gmail.com Date: Sun, 29 Oct 2006 14:51:51 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 29 Oct 2006 14:51:56.0307 (UTC) FILETIME=[C7746630:01C6FB69] Cc: freebsd-pf@freebsd.org Subject: Re: pf altq not showing root traffic 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: Sun, 29 Oct 2006 14:52:03 -0000 Heloo bill Can you point me what's wrong in my configuration. As I want to graph total bandwidth and each client individual bandwidth. But as there is any traffic in root queue I can't view the actuall total traffic of all clients. Can you guide me what's wrong here? >From: "Bill Marquette" >To: "Gloomy Group" >CC: freebsd-pf@freebsd.org >Subject: Re: pf altq not showing root traffic >Date: Sun, 29 Oct 2006 09:06:35 -0500 > >On 10/29/06, Gloomy Group wrote: >>Hi, >> >>I have setup pf and altq traffic shapping on freebsd 6.1. my configuration >>is as follows; >> >>ext_if="rl0" >>int_if="rl1" >> >>table {192.168.0.1/27} >>scrub in all >> >>altq on $int_if hfsc bandwidth 912Kb queue{client1_down, default_down} >>altq on $ext_if hfsc bandwidth 256Kb queue{client1_up, default_up } >> >># define queue for download >>queue default_down bandwidth 32Kb hfsc (realtime 32Kb upperlimit 32Kb >>default) >>queue default_up bandwidth 32Kb hfsc (realtime 32Kb upperlimit 32Kb >>default) >> >>queue client1_down bandwidth 64Kb hfsc (realtime 64Kb upperlimit 64Kb) >> >># define queue for upload >>queue client1_up bandwidth 64Kb hfsc (realtime 64Kb upperlimit 64Kb) >> >>pass out quick on $int_if from any to queue client1_down label >>client1_down >>pass out quick on ext_if from to any queue client1_up label >>client1_up >>--------------------------------------------------------------------------------------------------- >> >>Shapping is working fine, except root_rl0 and root_rl1 traffic is not >>shown. >>What's wrong with my confiugration? >>below is the output of "pfctl -s queue -v" command >> >>bw-shaper# pfctl -s queue -v >>queue root_rl1 bandwidth 912Kb priority 0 {default_down, client1_down} >> [ pkts: 0 bytes: 0 dropped pkts: 0 bytes: >>0 >>] >> [ qlength: 0/ 50 ] >>queue default_down bandwidth 32Kb hfsc( default realtime 32Kb upperlimit >>32Kb ) >> [ pkts: 1078 bytes: 108628 dropped pkts: 0 bytes: >>0 >>] >> [ qlength: 0/ 50 ] >>queue client1_down bandwidth 64Kb hfsc( realtime 64Kb upperlimit 64Kb ) >> [ pkts: 1625 bytes: 1395472 dropped pkts: 0 bytes: >>0 >>] >> [ qlength: 0/ 50 ] >>queue root_rl0 bandwidth 256Kb priority 0 {default_up, client1_up} >> [ pkts: 0 bytes: 0 dropped pkts: 0 bytes: >>0 >>] >> [ qlength: 0/ 50 ] >>queue default_up bandwidth 32Kb hfsc( default realtime 32Kb upperlimit >>32Kb >>) >> [ pkts: 422 bytes: 30116 dropped pkts: 0 bytes: >>0 >>] >> [ qlength: 0/ 50 ] >>queue client1_up bandwidth 64Kb hfsc( realtime 64Kb upperlimit 64Kb ) >> [ pkts: 1586 bytes: 383594 dropped pkts: 0 bytes: >>0 >>] >> [ qlength: 0/ 50 ] >> >> >> >>Ohcarol. > >I don't believe pf will show the cumulative child queue traffic in the >parent queues (it would be nice to have the option). I don't see >anywhere where you assigned traffic to the root queues (not even sure >if you can) and the default queues are both in your child queues. >From what I've seen, I don't believe you have anything to be concerned >about. > >--Bill _________________________________________________________________ Use your PC to make calls at very low rates https://voiceoam.pcs.v2s.live.com/partnerredirect.aspx