On 2016-03-09, Mihai Popescu <mih...@gmail.com> wrote:
>> -----
>> queue download on $if_int bandwidth 10M max 10M
>> queue ssh  parent download bandwidth 1M
>> queue web  parent download bandwidth 8M
>> queue bulk parent download bandwidth 1M default
>>
>> match to   port ssh        set queue ssh
>> match from port ssh        set queue ssh
>> match to   port { 80 443 } set queue web
>> match from port { 80 443 } set queue web
>> -----
>
> Pardon me, but are you assigning by this both in and out ssh packets
> to the same ssh queue?

'set queue' uses a queue *name*. You can have queues on more than one
interface using the same name. This is useful because the queue name is
used on the state table entry; packets on any interface matching the
state will use a queue of that name if it exists on the outgoing
interface.

Understanding this is key to succesfully working with queues.

Reply via email to