How to QoS extra IP address with PCQ?

I have followed Mikrotik QoS Best Practice by Janis. Everything is working perfectly:D What i did was to give one customer one vlan and give one IP for each customers. So, i just do mangle the IP address (address-list with predefined mangle rule) and it will be limit by PCQ.

Until customer start request more IPs (extra IP) for the same bandwidth, i need to re-write the rule for each customize customer. Eventually, i will need to write one QoS rule for one customer (cannot use PCQ) that is not efficient :confused:

Does anyone face this issue? what is another Best Practice :smiley:

Thanks,

Hello Cambodia :slight_smile:

PCQ replacement is a HUGE Queue Tree (not best practice). The ENORMOUS Queue Tree can be simplified by using PCQ inside it in the leaf queues (good)… depends on what Exactly you need to achieve as bandwidth distribution.


The MikroTik team have tried very very hard to make it very very simple here: http://wiki.mikrotik.com/wiki/HTB I would say they made it so simple that it is Not good quality teaching material but thats just my opinion :slight_smile:

Hope, you visited Cambodia (Angkor Wat) before :sunglasses:

Anyway, PCQ is very very helpful in order to manage bandwidth distribution (one rule will catch all) and THANKS to Mikrotik team for their hard working both technologies (PCQ, HTB,…) and documentations :smiley:

To my situation, what I did was to write four queue rule per customer in queue tree to manage the bandwidth as below:

  1. Mangle
    -mangle download traffic
    -mangle upload traffic

  2. in Queue Tree
    -customer1_parent_download
    –customer1_download
    -customer1_parent_upload
    –customer1_upload

If you have better idea(easy to do and more efficient), please share it here.

thanks,

Hey Im totally overburdened with work but have a look at these presentations, they should make things a little more clear: http://mum.mikrotik.com/presentations/US09/Valens-MUM2009USA.pdf http://mum.mikrotik.com/presentations/US09/megis_qos.pdf and videos etc: http://wiki.mikrotik.com/wiki/MUM_2009_US

Thanks for the links.

Let say PCQ’s Limit-At is 512k. That means every single IP will get 512k ( best case scenario).
Can we limit a group of IPs under one PCQ substream? so, they will get 512k to share each other.

Hope, my question is clear.

pcq-classifier (dst-address | dst-port | src-address | src-port; default: “”) : selection of sub-stream identifiers

Those are the available classifiers. So no, you can not classify one group of IPs into one stream using PCQ.

Thanks for quick response.