Queue Questions [SOLVED]

Hi,

I’ve read the manual on Queues but it just don’t get it :frowning:
I really only want to do something simple:

  • I have an interface ether1 which needs to be limited at 2M outgoing and 50M incoming traffic
  • On this interface sits interface vlan1 which should be able to use all this traffic
  • Also there is a second interface vlan2 on ether1 which should have a much higher priority than vlan1 so that it gets all the traffic it needs

How can I accomplish this?

Best regards

Max

try this:
go to queues clik on “+”
on the first tab define the “max limit” for “target upload” and “target download”
on the “adwanced” tab define the “inerface” = ether1

do the same for your 2 wlans, now you have 3 queues.

in the advanced tab for wlan define “parent” = the name of the queue for ether1
define the priority number too - for your wlans

success !!

Just building on the answer from kimis.

in the simple queue for VLAN1 set max-limits to full bandwidth as allowed in the parent queue (queue for ether1) i.e. 2M upload and 50M download and under the advanced tab set limit-at to the min. bandwidth that you want to guarantee VLAN1 e.g limit-at target upload=500K and limat at target download=10M and the priority to e.g. 6

For VLAN2 set max-limits to the 2M upload and 50M download and the limit-at to 3M upload and 40M download and the priority to 2

AS kimis said - for both VLAN queues don’t forget to set the parant queue = the name of the queue you defined for Ether1

Now this should give you the following result:

if there is too much traffic on both VLAN1 and VLAN2 the the limit-at’s will be served first - no matter what - i.e. VLAN1 will have 500K down and 10M down and VLAN2 will get’s its 3M up and 40 down.

If the total traffic for both VLAN 1 and VLAN2 is less then the max limits for ether1 (parent queue) then both VLAN1 and VLAN2 will gets their limit-at (the min. bandwidth guaranteed) but LAN2 will get any additional bandwidth that it is able to utilize before VLAN1 because of the higher priority (lower number=higher priority) first when VLAN2 has reached its max limits then VLAN1 will get whatever additional bandwidth VLAN2 is not able to utilize and what is available above the max limits for VLAN2.

rgs Pilgrim

Thank you two! :smiley:

This worked with some minor changes:

The main queue must not have an interface set (interface=all,parent=none).
And all Upload/Download values need to be swaped ( upload will be Rx and vice versa)
Similarly the “Target Address” is the remote host ip and the Dst. Address is the local client ip when working with IPs :open_mouth:

Best regards

Max