I will show you how to manage the Mikrotik Queue Tree to limit the total bandwidth. For example you can split a 2Mbps bandwidth to 512Kbps per 4 users. In my example i’ll limit upload+download=2Mbps
First of all we need to mark the packets to be traced in the queue.
/ip firewall mangleadd action=mark-packet chain=prerouting in-interface=ether3 new-packet-mark=uploadadd action=mark-packet chain=postrouting out-interface=ether3 new-packet-mark=download
Then we’ll set up the queue tree.
/queue treeadd max-limit=20M name=total-traffic parent=global queue=defaultadd name=upload packet-mark=upload parent=total-traffic queue=defaultadd name=download packet-mark=download parent=total-traffic queue=default
Thanks.
No comments:
Post a Comment