Need Help for Bandwidth Management

I have a RB450G MikroTik router board. In that I have created 4 group to distribute bandwidth to 4 individual company. Each group has more than 20 user to which I have assigned different B/W. Now I want to manage B/W in such a ways that if any user under any group wants to browse he will get certain amount of (suppose 64kbps) B/W and if he D/L something then he will get lower (suppose 50 kbps) B/W.

Now can anyone please help me to do this.

Thanks in advance.

Look into PCQ http://wiki.mikrotik.com/wiki/PCQ

Thank you Mr.Evans for your reply. But I was not looking for this solution.May be I did not explained clearly.

Let say for example I have a group with IP 192.168.1.0/24 and under this group I have 20 users starting IP from 192.168.1.11-192.168.1.20. Now I have assigned each of this users with 64kbps upload speed and 128kbps download speed.As users are getting 128kbps download speed they are doing all time download.

Now I want to do is that if a user wants to browse he will get full 128kbps speed but when ever he will gives download he will get 80/100 kbps speed for download.

How can I do this.

Thanks in advance again.

What do you mean by ‘download’, given that web pages and pictures are downloaded to a client’s machine to display them? Are you talking about P2P? Large files?

it’s rather about burst than p2p =)

I don’t know if there is a good example in the wiki regarding bursting, but that is what you are looking for. I don’t have any information on my blog, yet, either. I will try to work on something in that regard. Anyone else know of some examples? You may want to search this forum for bursting examples.

I have found a solution and tested and it is working.


/ip address
add address=192.168.110.1/24 broadcast=192.168.110.255 comment=“” disabled=no
interface=Local network=192.168.110.0
add address=Real IP for MikroTik broadcast= comment=“” disabled=no
interface=Real network=

/ip firewall address-list
add address=192.168.110.11 comment=“” disabled=no list=64-128
add address=192.168.110.12 comment=“” disabled=no list=32-64


/ip firewall mangle
add action=mark-packet chain=forward comment=“” connection-bytes=1-510000
disabled=no dst-address-list=64-128 new-packet-mark=Browsing_64
passthrough=yes protocol=tcp src-port=80
add action=mark-packet chain=forward comment=“” connection-bytes=510000-0
disabled=no dst-address-list=64-128 new-packet-mark=Download_64
passthrough=yes protocol=tcp src-port=80
add action=mark-packet chain=forward comment=“” connection-bytes=1-510000
disabled=no dst-address-list=32-64 new-packet-mark=Browsing_32
passthrough=yes protocol=tcp src-port=80
add action=mark-packet chain=forward comment=“” connection-bytes=510000-0
disabled=no dst-address-list=32-64 new-packet-mark=Download_32
passthrough=yes protocol=tcp src-port=80


/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=128k
max-limit=128k name=Browsing-128 packet-mark=Browsing_64 parent=Local
priority=8 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=80k
max-limit=80k name=Download-128 packet-mark=Download_64 parent=Local
priority=8 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=64k
max-limit=64k name=Browsing-64 packet-mark=Browsing_32 parent=Local
priority=8 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=48k
max-limit=48k name=Download-64 packet-mark=Download_32 parent=Local
priority=8 queue=default