I use in our network simple queue with PCQ to limit speed on each address. On ROS v5 and lower it worked like a charm, but now I discovered, that on two RB, which has ROS v6, it no longer works.
Exactly it looks like download queue is working, but upload not.
I know that there were changes in queue in v6, but I don't know, how to implement it.
Here is the "script" which I use for making the queue:
When I looked on counter in mangle, it looks like marking works OK.
Code: Select all
:global rozsah; /queue type add kind=pcq name=pcq_upload pcq-classifier=src-address pcq-rate=4M pcq-total-limit=10000 pcq-limit=50 add kind=pcq name=pcq_download pcq-classifier=dst-address pcq-rate=16M pcq-total-limit=10000 pcq-limit=50 :set rozsah "1"; /ip firewall mangle add action=mark-packet chain=prerouting src-address=("10.0.$rozsah.1-10.0.$rozsah.199") new-packet-mark=("upload_$rozsah") mangle add action=mark-packet chain=postrouting dst-address=("10.0.$rozsah.1-10.0.$rozsah.199") new-packet-mark=("download_$rozsah") /queue simple add name=("pcq_$rozsah") packet-marks=("upload_$rozsah,download_$rozsah") queue=pcq_upload/pcq_download target="0.0.0.0/0"
EDIT: tested a little now. It doesn't use the upload limits which I setted, instead of this it use download limit also for upload! (on RB2011 with ROS 6.15)
Then I tested it on RB800 with ROS v6.7, there it looks, that it works OK
EDIT2: After adding to queue tree instead of simple it works.
Anyway still there is some bug. Can anyone test it also?