Queue don't catch trafic

I’m usim ROS=3.15 on an x86 router.

I’v setup a simple queue, only selected at Advanced the interface where I intend to control trafic and applied.

With torch I see that trafic is going thru the interface, but when looking at the Trafic-tab of the queue, no single byte is counted by the queue-rule.

Similary, if I make a queue just setting the target network on the General-tab, and let the interface in Advanced-tab to all, I also don’t get any trafic, but torch for the same network shows my trafic.

Does Queue necessary neads a packed mark, the target-address and interface selection I can do on a simple-queue are useless without a packet mark ?

Thanks,

Alexander

change queue type from default-small to default

and read changelog, if interested

I setup two queues for the same network, the 1st one has lower limits and I selected work-days and work-houres. The second rule is intended to have higher limits on all hours not covered by the 1st rule.

What happens, is that in days and times selected by the 1st rule, the trafic does not goes thru any of the 2 ruels

I tryed to change type to ‘default’, but still same problem. What realy chenge by using ‘default’ or ‘default-small’ type ? From linux queues I expected to use ‘sfq’ and not fifo to better distribut avaiable bandwidth. Why does the default is fifo ?

In fact, what I would be able to do is something like:

HoleTarget-Net(say 200.200.200.0/24) has bandwidth limit of 2M
Client-1 (say 200.200.200.100/30) has limit of 1024k with parent=HoleTarget-Net
Client-2 (say 200.200.200.104/30) has limit of 512k with parent=HoleTarget-Net
Client-3 (say 200.200.200.108/30) has limit of 1024k with parent=HoleTarget-Net
Client-4 (say 200.200.200.112/30) has limit of 640k with parent=HoleTarget-Net

If not all using at same time, the individual clients should get ther maximum speed, but if all are using at same time, they will togheter be limited by the 2M.

I tryed to use the ‘parent’ setting of Advanced-tab, arrange the rules so that Client-X are listed befor the HoleTarget-Net rule, tested with different priorities, but I never get the efect I whant :frowning:

I also would like to be able to guarantie good performance for all clients for specific trafic, like Voip. In my example, regardless of the HoleTarget 2M I would like to garantie 64K for each Client-X if they are using Voip. Something like a diferent parent / lower priority if its VoIP.

I tryed to figuer oute if the correct setting for the result I whant should be the ‘Queue-Tree’ but I couldn’t get a clear idea.

Any help or implementation ideas are wellcome :slight_smile:

Thanks,

Alexander

please post your rules

There is some strange behavior. I removed one rule and ALL stopped to work. I needed to edit each existent queue make some change, aply it, and change it back to get it working.

At the moment, my queue rules are:

/queue simple
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
256000/256000 max-limit=256000/256000 name=“VoIP proxy” parent=none
priority=2 queue=default-small/default-small target-addresses=
200.219.215.34/32 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=0/0 name=TuneDyn parent=none priority=8 queue=
default-small/default-small target-addresses=201.49.183.0/25 total-queue=
default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=0/0 name=TuneFix parent=none priority=8 queue=
default-small/default-small target-addresses=201.49.183.128/26
total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=0/0 name=RegCli parent=none priority=8 queue=
default-small/default-small target-addresses=201.49.180.0/24 total-queue=
default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=0/0 name=Upap parent=none priority=7 queue=default/default
target-addresses=201.49.189.0/24 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=yes dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=0/0 name=HostNet parent=none priority=8 queue=
default-small/default-small target-addresses=201.49.185.0/24 total-queue=
default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=CybNet
limit-at=0/0 max-limit=0/0 name=Cyber parent=none priority=8 queue=
default-small/default-small total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=0/0 name=AdmNet parent=none priority=8 queue=
default-small/default-small target-addresses=
172.18.4.0/24,201.49.184.58/32 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=yes dst-address=0.0.0.0/0 interface=all limit-at=
256000/256000 max-limit=256000/256000 name=“VoIP audio” parent=none
priority=3 queue=default-small/default-small total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=0/0 name=RegCli-Itap parent=RegCli priority=8 queue=
default-small/default-small target-addresses=201.49.180.0/26 total-queue=
default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=0/0 name=RegCli-Cinira parent=RegCli priority=8 queue=
default-small/default-small target-addresses=201.49.180.64/26
total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=0/0 name=RegCli-Caaete parent=RegCli priority=8 queue=
default-small/default-small target-addresses=201.49.180.192/26
total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=0/0 name=RegCli-Embu parent=RegCli priority=8 queue=
default-small/default-small target-addresses=201.49.180.128/26
total-queue=default-small
add burst-limit=320000/320000 burst-threshold=288000/288000 burst-time=
20s/20s comment=“” direction=both disabled=no dst-address=0.0.0.0/0
interface=all limit-at=192000/192000 max-limit=256000/256000 name=
Upap-FKB parent=Upap priority=7 queue=default-small/default-small
target-addresses=201.49.189.208/30 total-queue=default-small
add burst-limit=2200000/2200000 burst-threshold=2100000/2100000 burst-time=
20s/20s comment=“” direction=both disabled=no dst-address=0.0.0.0/0
interface=all limit-at=1000000/1000000 max-limit=2000000/2000000 name=
Upap-NewSpace parent=Upap priority=7 queue=default-small/default-small
target-addresses=201.49.189.212/30 total-queue=default-small
add burst-limit=512000/512000 burst-threshold=384000/384000 burst-time=
20s/20s comment=“” direction=both disabled=no dst-address=0.0.0.0/0
interface=all limit-at=256000/256000 max-limit=448000/448000 name=
Upap-Cotton parent=Upap priority=7 queue=default-small/default-small
target-addresses=201.49.189.216/30 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
1000000/1000000 max-limit=2000000/2000000 name=Upap-Conectae parent=Upap
priority=7 queue=default-small/default-small target-addresses=
201.49.189.220/30 total-queue=default-small
add burst-limit=512000/512000 burst-threshold=384000/384000 burst-time=
20s/20s comment=“” direction=both disabled=no dst-address=0.0.0.0/0
interface=all limit-at=256000/256000 max-limit=448000/448000 name=
Upap-BrCargo parent=Upap priority=7 queue=default-small/default-small
target-addresses=201.49.189.224/30 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=64000/64000 name=Upap-Termex parent=Upap priority=8 queue=
default-small/default-small target-addresses=201.49.189.228/30
total-queue=default-small
add burst-limit=512000/512000 burst-threshold=384000/384000 burst-time=
20s/20s comment=“” direction=both disabled=no dst-address=0.0.0.0/0
interface=all limit-at=256000/256000 max-limit=448000/448000 name=
Upap-net232 parent=Upap priority=7 queue=default-small/default-small
target-addresses=201.49.189.232/30 total-queue=default-small
add burst-limit=512000/512000 burst-threshold=384000/384000 burst-time=
20s/20s comment=“” direction=both disabled=no dst-address=0.0.0.0/0
interface=all limit-at=256000/256000 max-limit=448000/448000 name=
Upap-net236 parent=Upap priority=7 queue=default-small/default-small
target-addresses=201.49.189.236/30 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=512000/512000 name=Upap-Doto parent=Upap priority=7 queue=
default-small/default-small target-addresses=201.49.189.240/30
total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=512000/512000 name=Upap-Batistine parent=Upap priority=7
queue=default-small/default-small target-addresses=201.49.189.244/30
total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
512000/512000 max-limit=1000000/1000000 name=Upap-DigitalFlex parent=Upap
priority=7 queue=default-small/default-small target-addresses=
201.49.189.248/30 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=512000/512000 name=Upap-JAR parent=Upap priority=7 queue=
default-small/default-small target-addresses=201.49.189.252/30
total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=yes dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=64000/64000 name=unl-PaP parent=Upap priority=8 queue=
default-small/default-small target-addresses=201.49.189.0/24 total-queue=
default-small
add burst-limit=640000/640000 burst-threshold=512000/512000 burst-time=
20s/20s comment=“” direction=both disabled=no dst-address=0.0.0.0/0
interface=all limit-at=256000/256000 max-limit=480000/480000 name=
TerrasAltas parent=RegCli-Caaete priority=7 queue=
default-small/default-small target-addresses=201.49.180.248/30
total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=0/0 name=unl-Caaete parent=RegCli-Caaete priority=8 queue=
default-small/default-small target-addresses=201.49.180.192/26
total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=64000/64000 name=RepRitom parent=RegCli-Embu priority=8
queue=default-small/default-small target-addresses=201.49.180.128/29
total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
256000/256000 max-limit=512000/512000 name=Polinchem parent=RegCli-Embu
priority=8 queue=default-small/default-small target-addresses=
201.49.180.136/30 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=1000000/1000000 name=Treze2 parent=RegCli-Embu priority=8
queue=default-small/default-small target-addresses=201.49.180.140/30
total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=1000000/1000000 name=TrezeListas parent=RegCli-Embu
priority=8 queue=default-small/default-small target-addresses=
201.49.180.144/29 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=64000/64000 name=Emb-net152 parent=RegCli-Embu priority=8
queue=default-small/default-small target-addresses=201.49.180.152/30
total-queue=default-small
add burst-limit=2000000/2000000 burst-threshold=1600000/1600000 burst-time=
20s/20s comment=“” direction=both disabled=yes dst-address=0.0.0.0/0
interface=all limit-at=1000000/1000000 max-limit=1200000/1200000 name=
AlbertoCont parent=RegCli-Embu priority=7 queue=
default-small/default-small target-addresses=201.49.180.156/30 time=
8h30m-17h30m,mon,tue,wed,thu,fri total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
1600000/1600000 max-limit=2000000/2000000 name=AlbertoF-not parent=
RegCli-Embu priority=8 queue=default/default target-addresses=
201.49.180.156/30 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
512000/512000 max-limit=1000000/1000000 name=RepMario parent=RegCli-Embu
priority=8 queue=default-small/default-small target-addresses=
201.49.180.160/29 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
256000/256000 max-limit=512000/512000 name=Eletroform parent=RegCli-Embu
priority=8 queue=default-small/default-small target-addresses=
201.49.180.168/30 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
256000/256000 max-limit=512000/512000 name=GTI parent=RegCli-Embu
priority=8 queue=default-small/default-small target-addresses=
201.49.180.172/30 total-queue=default-small
add burst-limit=2100000/2100000 burst-threshold=2050000/2050000 burst-time=
10s/10s comment=“” direction=both disabled=no dst-address=0.0.0.0/0
interface=all limit-at=1900000/1900000 max-limit=2000000/2000000 name=
RFS-KMP parent=RegCli-Embu priority=8 queue=default/default
target-addresses=201.49.180.176/29 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=64000/64000 name=Emb-net184 parent=RegCli-Embu priority=8
queue=default-small/default-small target-addresses=201.49.180.184/30
total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=1000000/1000000 name=Treze parent=RegCli-Embu priority=8
queue=default-small/default-small target-addresses=201.49.180.188/30
total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“”
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
1000000/1000000 max-limit=1000000/1000000 name=unl-Embu parent=
RegCli-Embu priority=8 queue=default-small/default-small
target-addresses=201.49.180.128/26 total-queue=default-small

Thanks,

Alexander

where?..

about default-small:

What’s new in 3.12:

*) changed behaviour of simple queues - queues with no limit and type default-small
and no children actually do not get installed, as if there was no queue;

The rule I removed that caused all others to stop working, was the one with day and time restriction :frowning:

Thanks for pointing changes since 3.12

Will test a bit more with type ‘default’ to see if strange behavior stops.