Date: Fri, 2 Jul 2010 20:21:53 -0400 From: Maxim Khitrov <mkhitrov@gmail.com> To: krad <kraduk@googlemail.com> Cc: Free BSD Questions list <freebsd-questions@freebsd.org> Subject: Re: Same priority pf/altq queues not supported? Message-ID: <AANLkTinbn6o5yNGrUzOozuX-G-MhbsrGA0rt4udwVuCr@mail.gmail.com> In-Reply-To: <AANLkTikLnA4h1RJEummUFfXFP69MmbLh-CA9Fqvb9OiN@mail.gmail.com> References: <AANLkTikpVS4YXOUbhTdysEWZLLX-Fqy5VtwKOEcl4eFn@mail.gmail.com> <AANLkTikLnA4h1RJEummUFfXFP69MmbLh-CA9Fqvb9OiN@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 2, 2010 at 8:17 PM, krad <kraduk@googlemail.com> wrote: > > > On 3 July 2010 00:05, Maxim Khitrov <mkhitrov@gmail.com> 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) =C2=A0# Default priority queue >> queue red priority 1 priq(red) =C2=A0 =C2=A0 =C2=A0# Default priority TC= P queue with RED >> queue med priority 2 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0# DNS, DHCP, ACKs, and TOS =3D=3D lowdelay >> queue top priority 3 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0# 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 > > check the version of pf in freebsd compared to openbsd, as they are not > always in sync > I'm aware of this. FreeBSD 7.3 should be using pf from OpenBSD 4.1: http://www.freebsd.org/doc/en/books/handbook/firewalls-pf.html#AEN39617 - Max
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinbn6o5yNGrUzOozuX-G-MhbsrGA0rt4udwVuCr>