Just to make sure I understand correctly… (kind of going off the example 
located at https://wiki.mikrotik.com/wiki/Manual:Queues_-_PCQ_Examples)

Adding the max-limit=105M/105M in step 3 would limit all users handled by the 
PCQ to 105M?
e.g.
/queue simple
add max-limit=105M/105M name=PCQ_Queue queue=PCQ_Upload/PCQ_Download 
target=192.168.1.0/24

In step 2 of that example I link, they show how to limit each user to 64k/32k.
/queue type add name="PCQ_download" kind=pcq pcq-rate=64000 
pcq-classifier=dst-address
/queue type add name="PCQ_upload" kind=pcq pcq-rate=32000 
pcq-classifier=src-address

Is there a way to write that to allow them the full 105M if they were the only 
user? (or ½ that if there are 2, 1/3 if 3, etc)  Just not specify a pcq-rate?

Thanks

From: Af [mailto:[email protected]] On Behalf Of Jesse DuPont
Sent: Wednesday, April 18, 2018 1:46 PM
To: [email protected]
Subject: Re: [AFMUG] Mikrotik: Making usre X bandwidth is available for a given 
device

You can setup a PCQ for WiFi subnet as you described, but also set the 
max-limit for both down and up on the PCQ and it will distribute bandwidth 
among all IPs in the PCQ, limited to the per-IP rate in the PCQ and overall 
limited to the max-limit, which you'd set to 105 Mbps. Then if you still want 
to, you can have a simple queue for the streaming device (which would make it 
easy to see how much the streamer is actually using).

You can also do all this with the queue tree, but will be more complicated.
Jesse DuPont
Network Architect
email: [email protected]<mailto:[email protected]>
Celerity Networks LLC
Celerity Broadband LLC
Like us! facebook.com/celeritynetworksllc
Like us! facebook.com/celeritybroadband
[cid:[email protected]]
On 4/18/18 11:30 AM, Justin Marshall wrote:
Hi,

I have a customer with a 120M/120M connection.  This is for a church that 
usually has 100-250 users on wifi at any given time.

I need to make sure that at least 15M/15M is available at all times for a given 
streaming device, but I also want to make sure any wifi users have full access 
to the other 105M.  What is the best way to go about this?

Is there a way to use PCQ to accomplish this? Dedicate 105/105 to PCQ which 
would leave the remaining 15M available to the other device (e.g. if i moved 
the streaming device to a different subnet)?
I see an example on how to see a max limit for each PCQ user, but I can't seem 
to find any that set a max limit for all PCQ users.  
(https://wiki.mikrotik.com/wiki/Manual:Queues_-_PCQ_Examples)

Is there a better way to go about this? Marking packets?  If so, does anyone 
know of a good tutorial?

Any suggestion would be appreciated.

Thanks,
Justin

Reply via email to