Is it possible to set a simple queue on all dhcp leases that are given out?
I know you can set the address as static and then set a rate limit. I would like to limit the connection speed without the manual step.
Is it possible to set a simple queue on all dhcp leases that are given out?
I know you can set the address as static and then set a rate limit. I would like to limit the connection speed without the manual step.
like all dhcp clients have same limitations?
if so just create simple queue with PCQ and all your users will have limitation.
But when you create a simple queue for a subnet it limits the subnet to a total not each IP.
i.e. I create a simple queue for all users to have 384k/768k on 172.1.1.1/24
Each user does not get 384k/768k they all get 384k/768k to share.
I was hoping to accomplish this with the DHCP server giving each lease a simple queue of 384k/768k.
PCQ allows to create bandwidth sharing, when all users get the same bandwidth,
http://wiki.mikrotik.com/wiki/PCQ_Examples
Alternative configuration, when bandwidth is divided equally among the users,
http://www.mikrotik.com/testdocs/ros/2.9/root/queue_content.php#6.54.6.3
You can create queues using scripts.
Does anyone have the script that would make DHCP leases have a simple queue attached?
Look at the last script on this page:
http://forum.mikrotik.com/t/need-help-with-script-to-make-simple-queue-for-dhcp-entries/53490/1
I’m going to “fine tune” that script for my own use. I need extra functionality to change Queue names if the Hostname on the DHCP Lease change. But for now, that script is pretty neat.
Sorry for butting in but I prefer a nice clean Queue Tree with PCQ for example. No Simple Queues and no scripts - we do not need to make life harder than it is.
Hi NetworkPro
I too prefer to have nice “clean” rules, nicely labeled and manually configured etc, but if you have /24 or even worse, /16 address spaces, you can imagine what a nightmare it would be to manually create hundreds of queue’s for each IP address.
Perhaps you know of a better way of doing this, if so, please share!
Side note, it is important to have individual queues for each IP so you can see each IP in the graphs (http://routerip/graphs).
G ![]()
Ah sorry about that man. I do not have a nice clean solution for looking at individual IPs’ graphs.
Maybe MikroTik can make some statement about how Simple Queues in v6 will help with this?
I do that.
http://blog.mazolini.com.br/2014/02/mikrotik-lease-script-para-adicionar.html?m=1
Enviado de meu SM-G800H usando Tapatalk