Community discussions

MikroTik App
 
mknnoc
Trainer
Trainer
Topic Author
Posts: 229
Joined: Thu Feb 28, 2008 6:40 am
Location: cambodia

How to QoS extra IP address with PCQ?

Thu Nov 05, 2009 9:44 am

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 :?

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

Thanks,
 
User avatar
NetworkPro
Forum Guru
Forum Guru
Posts: 1376
Joined: Mon Jan 05, 2009 6:23 pm
Location: bit.ly/the-qos
Contact:

Re: How to QoS extra IP address with PCQ?

Thu Nov 05, 2009 11:45 am

Hello Cambodia :)

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 :)
 
mknnoc
Trainer
Trainer
Topic Author
Posts: 229
Joined: Thu Feb 28, 2008 6:40 am
Location: cambodia

Re: How to QoS extra IP address with PCQ?

Thu Nov 05, 2009 12:32 pm

Hope, you visited Cambodia (Angkor Wat) before 8)

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 :D

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,
 
User avatar
NetworkPro
Forum Guru
Forum Guru
Posts: 1376
Joined: Mon Jan 05, 2009 6:23 pm
Location: bit.ly/the-qos
Contact:

Re: How to QoS extra IP address with PCQ?

Sun Nov 08, 2009 3:20 pm

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/U ... 009USA.pdf http://mum.mikrotik.com/presentations/U ... is_qos.pdf and videos etc: http://wiki.mikrotik.com/wiki/MUM_2009_US
 
mknnoc
Trainer
Trainer
Topic Author
Posts: 229
Joined: Thu Feb 28, 2008 6:40 am
Location: cambodia

Re: How to QoS extra IP address with PCQ?

Mon Nov 09, 2009 4:59 am

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.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: How to QoS extra IP address with PCQ?

Mon Nov 09, 2009 5:46 am

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.
 
mknnoc
Trainer
Trainer
Topic Author
Posts: 229
Joined: Thu Feb 28, 2008 6:40 am
Location: cambodia

Re: How to QoS extra IP address with PCQ?

Mon Nov 09, 2009 4:31 pm

Thanks for quick response.

Who is online

Users browsing this forum: jbolakakis, MikeKulls, Semrush [Bot] and 122 guests