In situations when I want to limit users in my network to a specific bandwidth, i can use i think PCQ. In this example i tried to use the flowing steps to configure the router so that all users have 64kbps download and 32kbps upload:
-
Mark all packets with flow all:
/ip firewall mangle add action=accept mark-flow=all -
Create two PCQ queue types - one for download and one for upload. For download traffic
queues will be classified by dst-address and for upload - by src-address:
/queue type add name=PCQ-Download kind=pcq pcq-rate=65536
pcq-classifier=dst-address
/queue type add name=PCQ-Upload kind=pcq pcq-rate=32768
pcq-classifier=src-address -
Add two queue rules - one for download and one for upload:
/queue tree add parent=global-in queue=PCQ-Download flow=all
/queue tree add parent=global-out queue=PCQ-Upload flow=all
Problem :
[admin@MikroTik] > ip firewall mangle add action=accept mark-flow=all
no such argument (mark-flow)