From owner-freebsd-pf@FreeBSD.ORG Thu May 4 19:09:18 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 1146216A400 for ; Thu, 4 May 2006 19:09:18 +0000 (UTC) (envelope-from linux@giboia.org) Received: from adriana.dilk.com.br (adriana.dilk.com.br [200.250.23.1]) by mx1.FreeBSD.org (Postfix) with SMTP id A15B943D48 for ; Thu, 4 May 2006 19:09:14 +0000 (GMT) (envelope-from linux@giboia.org) Received: (qmail 52545 invoked by uid 98); 4 May 2006 19:09:07 -0000 Received: from 10.0.0.95 by lda.dilk.com.br (envelope-from , uid 82) with qmail-scanner-1.25-st-qms (uvscan: v4.4.00/v4545. perlscan: 1.25-st-qms. Clear:RC:1(10.0.0.95):. Processed in 0.025874 secs); 04 May 2006 19:09:07 -0000 Received: from unknown (HELO giboia) (linux@giboia.org@10.0.0.95) by adriana.dilk.com.br with SMTP; 4 May 2006 19:09:07 -0000 Date: Thu, 4 May 2006 16:12:38 -0300 From: Gilberto Villani Brito To: freebsd-pf@freebsd.org Message-ID: <20060504161238.57a2181e@giboia> X-Mailer: Sylpheed-Claws 1.0.4 (GTK+ 1.2.10; i586-mandriva-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: ALTQ - CBQ don't borrow. 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: Thu, 04 May 2006 19:09:18 -0000 Hi, I have this rules in my pf.conf: # altq on em3 cbq bandwidth 100% queue net_em3 # queue net_em3 bandwidth 1Mb cbq(default) { net1_em3 net2_em3 } # queue net1_em3 bandwidth 70% priority 7 cbq(borrow) # queue net2_em3 bandwidth 30% priority 1 cbq(borrow) # pass in on em3 fom 10.0.0.0/24 to any keep state queue net2_em3 # pass in on em3 fom 10.0.0.10 to any keep state queue net1_em3 When the IP 10.0.0.10 is not using the network, my traffic for internal network (10.0.0.0/24) don't pass 30%. The same problem happens for IP 10.0.0.10. What's wrong with my rules?? Gilberto