PCQ and prioritizing

i want to give my customers a PCQ-limited bandwidth, but set priority to some traffic (e.g. icmp)

when i add PCQ rule with pcq-rate=64k, and then add a child for this rule without limits, but with priority set, parent PCQ rule do not limit traffic at all =(

is there any solutions?

anybody?

Hello Chupaka
I don’t undestand you, but I think that you are forgetting to say the parent queue to that queue you create at final.
Rafael Lore

(sry, dblpost =) )

that’s what I am talking about:
Clipboard01.jpg
parent queue has type PCQ with Rate = 8196k. child queue has type Default, with no limits, and catches packets marked test-pckt-to. parent PCQ queue do not limit child queue’s traffic =(

Hello
If I thing that I’m undestanding, you forget to insert the max limit and Limit at, like in the next picture
queue tree.jpg
Well I hope it help you
Rafael Lore

I do not want to limit total bandwidth, I want limit it on per-user basis. This is why I use PCQ. And I don’t want to limit user’s high-priority and low-priority traffic separately. If user have no high-priority trafic at the moment, let him use his whole bandwidth

Well if you want to do this look tis page
http://www.butchevans.com/readarticle.php?article_id=15
It’s was my first idea, but is so difficult so I made only simple queue tree. Please if you make it work TELL ME!!!
Is a wonderfull idea, you can work in each clients
Rafael Lore

I have no PPPoE, I use direct access from local net to Internet

PCQ doesn’t work on parent queues, you must set it on child queues only.

The question was ‘Is there any solution?’, not ‘Does PCQ work on parent queues?’…

hii bro, i’m newbie. can u give me script/mangle like this picture

hi
I tested something similar with pcq (I want mix every service from one user in one pcq queue ,no1 ) with rate=0 and classifier dst-port) then parent for this queue = another pcq queue (no2) without classifier nad rate=[total upload rate one user] fe. 128kb
and at the end parent for this queue = global pcq queue (no3) for everyone users in network classifier=src-ip rate=0

queue no3, parent=global-in, classifier=src-ip, rate=0
queue no2, parent=no3, rate=[total upload rate one user]
queue no1, parent=no2 packet-mark=[upload user-x] classifier=dst-port

well i want to do pseudo service prioritization (mixer for all service) and i have one problem …
why pcq queues doesn’t work in parent queues ? … anyone knows ? (doesn’t keep limit rate=[total rate one user]

this is my idea ;p
http://forum.osbridge.pl/viewtopic.php?t=4875&start=15

anybody ?

try ask support =)

Hello, somebody solved the problem?

I know one solution, but it’s not good.
Because, I have to use a script to create additional sub-queues.

buddy please dont follow this old topic

its based on older version of router os

but nothing has changed in the past years. Absolutely.