From owner-freebsd-pf@FreeBSD.ORG Wed Mar 18 20:56:27 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 6FB71106566B for ; Wed, 18 Mar 2009 20:56:27 +0000 (UTC) (envelope-from pp@pp.dyndns.biz) Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72]) by mx1.freebsd.org (Postfix) with ESMTP id 26B6A8FC19 for ; Wed, 18 Mar 2009 20:56:27 +0000 (UTC) (envelope-from pp@pp.dyndns.biz) Received: from ironport.bredband.com (195.54.101.120) by proxy2.bredband.net (7.3.139) id 49C0BA2100057CAF for freebsd-pf@freebsd.org; Wed, 18 Mar 2009 21:35:41 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvM8ANP3wElV4jp1PGdsb2JhbACBT4dKg2WHUoEZAQEBATW+BoN8Bg X-IronPort-AV: E=Sophos;i="4.38,386,1233529200"; d="scan'208";a="497248334" Received: from c-753ae255.107-1-64736c10.cust.bredbandsbolaget.se (HELO gatekeeper.pp.dyndns.biz) ([85.226.58.117]) by ironport1.bredband.com with ESMTP; 18 Mar 2009 21:35:41 +0100 Received: from [192.168.69.67] (phobos [192.168.69.67]) by gatekeeper.pp.dyndns.biz (8.14.2/8.14.2) with ESMTP id n2IKZeAa013499 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 18 Mar 2009 21:35:41 +0100 (CET) (envelope-from pp@pp.dyndns.biz) Message-ID: <49C15B1C.9030303@pp.dyndns.biz> Date: Wed, 18 Mar 2009 21:35:40 +0100 From: Pojken Purken User-Agent: Thunderbird 2.0.0.19 (X11/20090314) MIME-Version: 1.0 CC: freebsd-pf@freebsd.org References: <60287.216.241.167.212.1237403968.squirrel@webmail.pknet.net> In-Reply-To: <60287.216.241.167.212.1237403968.squirrel@webmail.pknet.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: pf + altq + cbq(borrow) not borrowing from parent... 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: Wed, 18 Mar 2009 20:56:28 -0000 Peter wrote: > iH, > Can't figure this out - seems as if others are having the same issue > searching online: > The queues will not borrow from parent. > > pf.conf [cut and snipped] > > altq on fxp0 cbq bandwidth 100Mb qlimit 500 queue {intranet, extranet} > queue extranet bandwidth 876Kb { poshta,abakan,usrx11,imvas } > queue poshta bandwidth 34% priority 7 cbq(borrow) > queue abakan bandwidth 22% priority 2 cbq(borrow) > queue usrx11 bandwidth 22% priority 1 cbq(borrow) > queue imvas bandwidth 22% priority 1 cbq(borrow) > queue intranet bandwidth 90Mb cbq(default) > Sorry, brain is not working tonight. I reversed extranet and intranet in my previous response. Add "borrow" to your extranet queue. You might as well add it to the intranet queue too if you want it to be able to use those 876Kb if they're available. Sorry again for the noise. And yes, the description of borrowing from the parent queue is ofc correct too... Ireally should stop answering these questions at this time of night... ;-) /Morgan