From owner-freebsd-questions@FreeBSD.ORG Fri Jul 2 23:06:04 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 28B041065675 for ; Fri, 2 Jul 2010 23:06:04 +0000 (UTC) (envelope-from mkhitrov@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id DB3FD8FC2F for ; Fri, 2 Jul 2010 23:06:03 +0000 (UTC) Received: by qwg5 with SMTP id 5so1491818qwg.13 for ; Fri, 02 Jul 2010 16:05:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=MXu6QF9bpoaCAd12MMfMLdQ0oZF0Z0KTuiYRttcED+o=; b=xIUlN3f4QXkGnI9shvvsjAX67k/6OWZsDq8uZCcwQC6xqQaWZ2yANAuFOFdmqWRylC 2MmRfIvBgPp0R4da0loScI5ZETn2RLR8ORM3en0VXynFj9h+kVjL9yKrNEWRJjuiBza1 uboUExV1KzX/Mzlsjo5exSS85TsKEX2/YyvKA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=rnW0KVoLeaJCL0f/lZ/NLAwo6nc8L407xlbElgfRhnJCCkewHsS64FdvZnQPQnXfiH KeAoJ6IQdd+R0I7KQchcueRplN0zQW1oowc7lqC6PgSUqLMh04lX9i2YoVKM91nTmc0H QZlDYIKFWY0xWR5xqwC6GkpvAh9sFWDG8nGjU= Received: by 10.224.10.204 with SMTP id q12mr867334qaq.134.1278111954460; Fri, 02 Jul 2010 16:05:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.88.197 with HTTP; Fri, 2 Jul 2010 16:05:34 -0700 (PDT) From: Maxim Khitrov Date: Fri, 2 Jul 2010 19:05:34 -0400 Message-ID: To: Free BSD Questions list Content-Type: text/plain; charset=UTF-8 Subject: 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: Fri, 02 Jul 2010 23:06:04 -0000 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