Prioritzing traffic in PCQ

Hi,

I have 256/128 connection I wish to share 128/64 with one group of users and the other 128 with another. That’s easy enough. The problem I am having is figuring out how I prioritize traffic for each of those groups.

I tried doing that under global but it didn’t work. The picture I have in my mind is like this;

256/128 > PCQ a 128/64 > traffic priority group a

PCQ b 128/64 > traffic priority group b

and so on as I add more bandwidth and more groups.

Below is my IP mangle and Queue trees print. I would really appreciate it if someone could help me figure this out. Thanks.

Mangle

[admin@MikroTik] ip firewall mangle> print
Flags: X - disabled, I - invalid, D - dynamic
 0   chain=forward src-address=x.x.x.31-x.x.x.35 action=mark-connection
     new-connection-mark=users-grp-a-128 passthrough=yes

 1   chain=forward connection-mark=users-grp-a-128 action=mark-packet
     new-packet-mark=users-grp-a-128 passthrough=yes

 2   ;;; dns-con
     chain=prerouting protocol=udp dst-port=53 action=mark-connection
     new-connection-mark=dns-con passthrough=yes

 3   chain=prerouting connection-mark=dns-con action=mark-packet
     new-packet-mark=dns-packets passthrough=no

 4   ;;; dns-con
     chain=prerouting protocol=tcp dst-port=53 action=mark-connection
     new-connection-mark=dns-con passthrough=yes

 5   ;;; http-con
     chain=prerouting protocol=tcp dst-port=80 action=mark-connection
     new-connection-mark=http-con passthrough=yes

 6   chain=prerouting connection-mark=http-con action=mark-packet
     new-packet-mark=http-packets passthrough=no

 7   ;;; dns-con
     chain=prerouting protocol=udp dst-port=53 action=mark-connection
     new-connection-mark=dns-con-users-grp-a-128 passthrough=yes

 8   chain=prerouting connection-mark=dns-con-users-grp-a-128
     action=mark-packet new-packet-mark=dns-packets passthrough=no

 9   ;;; dns-con
     chain=prerouting protocol=tcp dst-port=53 action=mark-connection
     new-connection-mark=dns-con-users-grp-a-128 passthrough=yes
-- [Q quit|D dump|up|down]

Queue Tree

[admin@MikroTik] queue tree> print
Flags: X - disabled, I - invalid
 0   name="users-grp-a-128-download" parent=ether1 packet-mark="" limit-at=0
     queue=default priority=8 max-limit=131072 burst-limit=0
     burst-threshold=0 burst-time=0s

 1   name="queue2" parent=users-grp-a-128-download packet-mark=users-grp-a-128
     limit-at=0 queue=pcq-download priority=8 max-limit=0 burst-limit=0
     burst-threshold=0 burst-time=0s

 2   name="users-grp-a-128-upload" parent=ether2 packet-mark="" limit-at=0
     queue=default priority=8 max-limit=65535 burst-limit=0 burst-threshold=0
     burst-time=0s

 3   name="queue4" parent=users-grp-a-128-upload packet-mark=users-grp-a-128
     limit-at=0 queue=pcq-upload priority=8 max-limit=0 burst-limit=0
     burst-threshold=0 burst-time=0s

 4   name="dns-requests" parent=users-grp-a-128-download
     packet-mark=dns-packets limit-at=0 queue=default priority=1
     max-limit=32000 burst-limit=0 burst-threshold=0 burst-time=0s

 5   name="dns-resolutions" parent=users-grp-a-128-upload
     packet-mark=dns-packets limit-at=0 queue=default priority=1
     max-limit=32000 burst-limit=0 burst-threshold=0 burst-time=0s