Community discussions

MikroTik App
 
User avatar
jwcn
Forum Guru
Forum Guru
Topic Author
Posts: 1495
Joined: Sun Aug 27, 2006 6:49 am
Location: Maryland, USA
Contact:

DHCP Simple Queue

Tue Feb 06, 2007 8:38 am

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.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Tue Feb 06, 2007 10:15 am

like all dhcp clients have same limitations?

if so just create simple queue with PCQ and all your users will have limitation.
 
User avatar
jwcn
Forum Guru
Forum Guru
Topic Author
Posts: 1495
Joined: Sun Aug 27, 2006 6:49 am
Location: Maryland, USA
Contact:

Tue Feb 06, 2007 6:48 pm

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.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Wed Feb 07, 2007 8:15 am

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. ... p#6.54.6.3
 
pedja
Long time Member
Long time Member
Posts: 684
Joined: Sat Feb 26, 2005 5:37 am

Re: DHCP Simple Queue

Wed Feb 07, 2007 11:27 am

Is it possible to set a simple queue on all dhcp leases that are given out?
You can create queues using scripts.
 
User avatar
jwcn
Forum Guru
Forum Guru
Topic Author
Posts: 1495
Joined: Sun Aug 27, 2006 6:49 am
Location: Maryland, USA
Contact:

Wed Feb 07, 2007 4:17 pm

Does anyone have the script that would make DHCP leases have a simple queue attached?
 
User avatar
Giepie
Member
Member
Posts: 433
Joined: Mon Sep 13, 2004 12:33 pm
Location: Western Cape, South Africa
Contact:

Re:

Thu Sep 20, 2012 2:53 pm

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/viewtopic.php?f=9&t=58551

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

Re: DHCP Simple Queue

Mon Oct 08, 2012 11:38 am

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.
 
User avatar
Giepie
Member
Member
Posts: 433
Joined: Mon Sep 13, 2004 12:33 pm
Location: Western Cape, South Africa
Contact:

Re: DHCP Simple Queue

Mon Oct 08, 2012 12:25 pm

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

Re: DHCP Simple Queue

Mon Oct 08, 2012 2:05 pm

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?
 
eduardomazolini
newbie
Posts: 31
Joined: Thu Jul 16, 2015 9:14 pm

Re: DHCP Simple Queue

Mon Sep 26, 2016 6:43 am

I do that.

http://blog.mazolini.com.br/2014/02/mik ... r.html?m=1

Enviado de meu SM-G800H usando Tapatalk

Who is online

Users browsing this forum: Renfrew and 28 guests