PCQ Question..

Say I assign a network ex: 192.168.20.0/24 to a simple queue with 2040000bps synchronous for its max limit.. Then say i create a new PCQ queue type.

If I assign the newly created queue type to the simple queue listed above will that give every user on the 192.168.20.0/24 a 2mbps MIR? or will it apply a 2mbps MIR for the 192.168.20/0/24 network?

Just so I’m clear I don’t want the users to share a max connection of 2mbps, I want each of them individually to have a 2mbps synchronous MIR (Max Information Rate).

Sample config (2.8.xx):

/ queue type
add name="PCQ" kind=pcq pcq-rate=0 pcq-limit=50

/ queue simple
add name="All Users" target-address=192.168.20.0/24 dst-address=0.0.0.0/0 \
    interface=all queue=PCQ priority=8 limit-at=0/0 max-limit=2048000/2048000 \
    burst-limit=3072000/3072000 burst-time=15/15 disabled=no

I’m trying to avoid having to create a simple queue for each individual user on my network..

Nevermind i got it all configured the way I want using Queue Trees and PCQ.

From what I understand PCQ would classify based on individual ips depending on how you calssified the flows under /queue type (e.g. SRC IP, DST IP etc)… but what did you find ??

I just marked all traffic by SRC and DST networks and applied that packet mark to a queue. And setup the PCQ type for the required bandwidth for users in that class.. worked for the temporary period when our allot bandwidth manager failed due to a software glitch..