TLDW logo

MikroTik Tutorial 51 - QOS Basics - Separate simple queues for each user

By TKSJa

Summary

## Key takeaways - **Parent Queue Sets Total Bandwidth**: The main queue has 512 kilobits per second upload and 6 megabits download, managing bandwidth for all users on the subnet 192.168.0.0/24. [01:46], [02:13] - **Child Queues Per User IP**: Each child queue targets a specific static user IP like 192.168.0.253 with 256k upload and 2 megabits download, parented to the main queue. [02:21], [03:37] - **PCQ Distributes Evenly**: Set queue type to pcq-upload-default and pcq-download-default so bandwidth is divided equally across users within parent limits. [02:03], [03:27] - **Priority Favors Top Users**: Priority 1 allows a user to consume full 2 megabits download even if others have the same limit; priority 8 shares equally. [08:07], [08:40] - **Test Shows Equal Sharing**: When five users download, each queue utilization is almost the same, totaling under 6 megabits; adding sixth divides evenly. [06:43], [07:16] - **Adjust Per-User Limits**: Double-click a user queue to change to 3 megabits, allowing more bandwidth based on priority over others. [09:27], [09:47]

Topics Covered

  • Static IPs Prevent Queue Disruptions
  • Per-Queue Bandwidth Caps Total Usage
  • Priority Guarantees Full User Bandwidth
  • Adjust Limits for Unequal Allocation

Full Transcript

hi everyone welcome back to another tutorial in this tutorial I'm going to create some cues that will manage bandwidth for multiple users in the

previous tutorial I'd created a single queue that manage bandwidth for all users no I'm going to have multiple cues

that will allocate specific bandwidth to each user and then manage the bandwidth based on the total available bandwidth

so the main queue which is appear in queue will have 512 kilobits per second upload and 6 megabits download and each

child queue will have are you could consider users would have a 256 K upload

and 2 megabits per second download and I'll be creating 6 users so let us head

over to win box and configure this alright so in win box go over to queues and I'm going to create the the first

queue and before you're creating the queues ensure that you know your your

network in terms of your subnets and my subnet is 1 & 2 168 8009 to 4 so what I'm going to do I'm going to create the

first queue based and up because this queue will work for all the users that

falls under under this queue so I'm going to call this one all one one width

and the target would be my subnet and the limit would be 512 kilobytes and

download limit would be 6 megabits so 6 capital m and for in advance I'm going

to set the queue type to be PC pcq upload default for the upload and pc q download default for

the download click okay I know I'm going to create the child cues are the cues

for each user so I'll call this one user one and the cues know would be based on

the IP address of the users so I'm going over back to Lisa's and I'm going to create the cues based on these IP address it is good if these IP addresses

are static so just in case the address change your cues will not be affected by

by those change because the address would be static so first one is

192.168.255.255 a that easier you can

use them if not you can type in whatever you want head over to advance and change

the default upload the cue type to pcq upload default and for the download pcq

download default and then we're going to change the parent to be four so the parent for this cue is all bandwidth and

then okay and we're going to create a next one so I'm going to use a shortcut to create the others just open a cue

copy and then call this user tool and I'm going to put in IP address for user two which is choose this app which is

this address 99 and because all the cues are of the same bandwidth so I don't need to change anything else to apply so

I can just copy

user 398 Candace copy this one use a 400

up again use a 5 [Music] two-fifty

and copy user six the two five four okay

all right so I've created six skills for six users and one way to organize the cues in our IR Carol mano he said uh

start start accused by a name so by clicking on this the cubes are known started in hierarchical manner so you can know which cube which queue is the

parent cube and all these know will be showing underneath in the our bandwidth cube which is which are the child cues

so I'm going to do a test know on these cues and let us see Oh it limits the the bandwidth used by each

client so I'm going to go over to my computer's and I'm going to start a download on each [Music]

and when to start download [Music]

all right so let's head over to win box all right so I've started downloading downloading a file for all for the first

five users and for the six users which is the PC that I'm using currently is this computer is not downloading any any

traffic but if you look at the queues if you look at accuse the binary utilization for each queues are almost

the same because the traffic is is divided for across all the users so it will not pass the 6 megabits or

currently the download speed is limited at 6 megabits so it will not pass that or if it pass it it just for maybe a few

seconds if I first started downloading on my on my PC here [Music]

[Music] and when to download a file [Music]

so if all right now you should see some activities on my cue which is user six I know you've seen where some download is

taking place and if you want a particular user to get is to be guaranteed the full bandwidth you can

also change the priority on the user to see I apéritif so priority each priority it is the lowest priority and prior to

one is is so if I give this you the prior to one now this user would be able

to consume the full two megabits download even although other users of the same limit this user will will be

able to consume the full two megabits and if I set it back to it like the others

now the the bandwidth utilization would be divided across among the this the six users here you see the band which is

almost equal across all users and yet still the total bandwidth utilization doesn't pass or or or a maximum which is

6 megabits it is not passed in person not it temporarily might jump but I'm saying it will happen for like a few seconds if you want to change the

bandwidth used by a particular user I could have double click on a user and say give this user 3 megabits and then this user no will be able to get more

bandwidth than the others but all of this is based on priority so if the priority is is it the same then the

bandwidth would be equal for all users so that is all you go about configuring cues for multiple users this

is just another example of doing that so I will continue doing some more tutorial just like this in terms of managing bandwidth so if you like this video

please remember to give me a thumbs up and if you haven't subscribed please remember to do so so thanks for watching

[Music] you [Music]

Loading...

Loading video analysis...