From owner-freebsd-questions@FreeBSD.ORG Sat Jul 3 00:17:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2471E106566B for ; Sat, 3 Jul 2010 00:17:38 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id A8A568FC1B for ; Sat, 3 Jul 2010 00:17:37 +0000 (UTC) Received: by fxm13 with SMTP id 13so3007982fxm.13 for ; Fri, 02 Jul 2010 17:17:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=/KppG/eUo5teAiUI8CGrTxPjxAgVAMwyXGRguUt2BeM=; b=CSkGz4gy5c1Q/EFpYrASkMJDgWS1sBQj2DEgWEzYtMVVny1Wi4oOz/gimE1wbsN3uz RMrqPMboETxIBRkjso+vdK7e9owAJEXRrOG6anrVP/vXzuizE7nMfDEmJr2aymJFBULl F5Qc3Y8KlqV07kY4PSwxakNPHB++2iAm0p5EM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=CX0ZmZsVepjNcTJ0Blkf0yDNI9yHIUXfasWoR/LTD+gBUQArxlyR24Fi9gMCRZNB5x NPUQ1hw4ZWReKfVbtmI2kYeSdHMtb7clsv3DuwWnHfoPnHuPnvDRsK3KbYVCPB7lqVT7 w+q5HMXb/4ZWiKtRANM00qE3n9Jpl9ZQI/Zyg= MIME-Version: 1.0 Received: by 10.239.130.211 with SMTP id 19mr131301hbk.75.1278116245625; Fri, 02 Jul 2010 17:17:25 -0700 (PDT) Received: by 10.239.161.199 with HTTP; Fri, 2 Jul 2010 17:17:25 -0700 (PDT) In-Reply-To: References: Date: Sat, 3 Jul 2010 01:17:25 +0100 Message-ID: From: krad To: Maxim Khitrov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Free BSD Questions list Subject: Re: Same priority pf/altq queues not supported? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jul 2010 00:17:38 -0000 On 3 July 2010 00:05, Maxim Khitrov wrote: > Hello all, > > I'm configuring pf on FreeBSD 7.3 and would like to use the following > altq settings: > > altq on $ext priq bandwidth 9240Kb queue {low, red, med, top} > altq on {$int1, $int2, $srv} priq bandwidth 100Mb queue {low, red, med, > top} > > queue low priority 1 priq(default) # Default priority queue > queue red priority 1 priq(red) # Default priority TCP queue with RED > queue med priority 2 # DNS, DHCP, ACKs, and TOS == lowdelay > queue top priority 3 # ICMP, NTP > > When I try to load these settings, I get the following errors: > > pfctl: low and red have the same priority > pfctl: low and red have the same priority > pfctl: low and red have the same priority > pfctl: low and red have the same priority > /etc/pf.conf:79: errors in queue definition > > OpenBSD 4.1 documentation states that "if two or more queues are > assigned the same priority then those queues are processed in a > round-robin fashion." Is there any specific reason why this behavior > was altered in the FreeBSD port? > > I'm not really sure of what to do, because I don't want to prioritize > or deprioritize TCP traffic, and I can't have RED enabled for any > other protocol. If you have any other general-purpose queuing > suggestions, please let me know. > > - Max > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > check the version of pf in freebsd compared to openbsd, as they are not always in sync