Mikrotik Throttling

Posted in How Did I Do That?

The most simple method of throttling is PCQ. A simple method for this is:

/queue type
add kind=pcq name=" Download" pcq-dst-address6-mask=64 \
pcq-limit=300KiB pcq-rate=8M pcq-src-address6-mask=64 pcq-total-limit=\
add kind=pcq name=" Upload" pcq-dst-address6-mask=64 pcq-limit=\
300KiB pcq-rate=3M pcq-src-address6-mask=64 pcq-total-limit=12000000KiB
/queue tree
add comment=" Download" name=" Download" \
packet-mark=" Download" parent=global queue=\
" Download"
add comment=" Upload" name=" Upload" packet-mark=\
" Upload" parent=global queue=" Upload"
/ip firewall mangle
add action=mark-packet chain=forward comment=" Download" \
dst-address= in-interface=ether1-WAN new-packet-mark=\
" Download"
add action=mark-packet chain=forward comment=" Upload" \
new-packet-mark=" Upload" src-address=