On 2013-12-03, Ryan Freeman <r...@slipgate.org> wrote:
> On Tue, Dec 03, 2013 at 09:10:32PM +0100, Gabor Berczi wrote:
>> On Dec 3, 2013, at 8:57 PM, josh Grosse wrote:
>> 
>> >The new scheduler will be included in 5.5-release.  Users of -
>> >current now, or of 5.5 when it is released, who wish to continue
>> >using altq syntax and an altq scheduler may do so during a
>> >transition period, as described in the link above.
>> 
>> Okay. But what you just described ("Child queues are able to use the
>> same name") doesn't work with ALTQ either. Are you certain it does
>> with the new sched? (that would mean that it was impossible to do
>> before)
>> 
>> altq on {$extif} bandwidth 600Kb hfsc queue { pri,http,warez }
>> 
>> queue pri       bandwidth 10% priority 7        qlimit 500 hfsc(realtime
>> 5% ecn red)
>> queue http      bandwidth 70% priority 5        qlimit 500 hfsc(realtime
>> 50% ecn red)
>> queue warez     bandwidth 1% priority 0 qlimit 500 hfsc(upperlimit
>> 90% ecn red)
>> 
>> altq on {$intif} bandwidth 100000Kb hfsc queue { local,down }
>> 
>> queue local     bandwidth 90% priority 7        qlimit 500 hfsc(realtime
>> 5% ecn red)
>> queue down      bandwidth 10% { pri,http,default,warez }
>>  queue pri      bandwidth 10% priority 7        qlimit 500 hfsc(realtime
>> 5% ecn red)
>>  queue http     bandwidth 70% priority 5        qlimit 500 hfsc(realtime
>> 50% ecn red)
>>  queue default  bandwidth 10% priority 4        qlimit 500 hfsc(realtime
>> 5% ecn red)
>>  queue warez    bandwidth 1% priority 0 qlimit 500 hfsc(upperlimit
>> 90% ecn red)
>> 
>> queue pri already exists on interface pppoe0
>> /etc/pf.conf.dual:71: errors in queue definition
>> queue http already exists on interface pppoe0
>> /etc/pf.conf.dual:72: errors in queue definition
>> queue warez already exists on interface pppoe0
>
> try:
>
> altq on {$extif} bandwidth 600Kb hfsc queue { pri,http,warez }
>
> queue extpri    bandwidth 10% priority 7        qlimit 500 hfsc(realtime 5% 
> ecn red)
> queue exthttp   bandwidth 70% priority 5        qlimit 500 hfsc(realtime 50% 
> ecn red)
> queue extwarez  bandwidth 1% priority 0 qlimit 500 hfsc(upperlimit 90% ecn 
> red)
>
> altq on {$intif} bandwidth 100000Kb hfsc queue { local,down }
>
> queue local     bandwidth 90% priority 7        qlimit 500 hfsc(realtime 5% 
> ecn red)
> queue down      bandwidth 10% { pri,http,default,warez }
> queue intpri    bandwidth 10% priority 7        qlimit 500 hfsc(realtime 5% 
> ecn red)
> queue inthttp   bandwidth 70% priority 5        qlimit 500 hfsc(realtime 50% 
> ecn red)
> queue default   bandwidth 10% priority 4        qlimit 500 hfsc(realtime 5% 
> ecn red)
> queue intwarez  bandwidth 1% priority 0 qlimit 500 hfsc(upperlimit 90% ecn 
> red)
>
> the only thing i noticed is you're defining pri, http, and warez twice and 
> confusing pf.

This does not confuse PF at all, but you have to be explicity about
which interfaces they relate to.

Reply via email to