Community discussions

MUM Europe 2020
 
User avatar
hyp3R
newbie
Topic Author
Posts: 46
Joined: Fri Oct 01, 2010 9:19 am
Location: Brčko, Bosnia & Herzegovina
Contact:

Simple Queue - Limit at a certain time

Mon Dec 06, 2010 4:05 pm

Hello everyone. If I manage to set this up properly, it would be a huge plus to my network. Please if you could assist me with this, I would be really pleased.

What I need is a simple queue which would set users to a certain bandwidth limit at a certain time.

What I want to do is set download and upload limit from 16:00 to 00:00 (midnight).

Basically, what I've figured out alone is how to make a simple queue for a single user and dragging it on the top of the queue list to have a priority.

Whatsoever, only thing I managed to make is limit in download and upload but when I try to use P2P option for an example or time, the queue generated by hotspot get a priority and that rule is applied instead of the one I made manually.

Basically, I have around 200 users on the network with only 10MB. Link is very expensive and we can't afford more.
We are a wireless company and we are changing our services and prices.

Please if you know how and if this is possible, tell me how to make it work like that.
Best wishes,
Alex

Note - Check out the screenshot I've attached into my post.
You do not have the required permissions to view the files attached to this post.
Every great advance in natural knowledge has involved the absolute rejection of authority.
Aleksandar Grbic Personal blog & Portfolio
 
fewi
Forum Guru
Forum Guru
Posts: 7734
Joined: Tue Aug 11, 2009 3:19 am

Re: Simple Queue - Limit at a certain time

Mon Dec 06, 2010 4:25 pm

Queue trees attached to global-in and global-out always override simple queues. Use those instead.
 
User avatar
hyp3R
newbie
Topic Author
Posts: 46
Joined: Fri Oct 01, 2010 9:19 am
Location: Brčko, Bosnia & Herzegovina
Contact:

Re: Simple Queue - Limit at a certain time

Mon Dec 06, 2010 8:09 pm

Thanks for your answer. Anyway, would you be kind to explain this a bit better and step by step how to make it. Am not very experienced with MikroTik. Still studying for trainings etc.

Thanks in advance,
Alex
Every great advance in natural knowledge has involved the absolute rejection of authority.
Aleksandar Grbic Personal blog & Portfolio
 
User avatar
savagedavid
Trainer
Trainer
Posts: 310
Joined: Thu Aug 25, 2005 12:58 pm
Location: Cape Town, South Africa
Contact:

Re: Simple Queue - Limit at a certain time

Tue Dec 07, 2010 11:39 pm

Queue trees attached to global-in and global-out always override simple queues. Use those instead.
This is not the case. A Simple queue will get traffic before the queue tree.
See: http://wiki.mikrotik.com/wiki/Manual:Queue for more details
Whatsoever, only thing I managed to make is limit in download and upload but when I try to use P2P option for an example or time, the queue generated by hotspot get a priority and that rule is applied instead of the one I made manually.
Silly question perhaps: is the clock on your router set correctly? Alternatively are you using an NTP client?
savagedavid
MTCE+T (MikroTik Certified Everything + Trainer)
MikroTik support and training in South Africa
http://www.mikrotiksa.com
david [at] mikrotiksa dot com
 
fewi
Forum Guru
Forum Guru
Posts: 7734
Joined: Tue Aug 11, 2009 3:19 am

Re: Simple Queue - Limit at a certain time

Tue Dec 07, 2010 11:41 pm

This is not the case. A Simple queue will get traffic before the queue tree.
Not if the queue tree is attached to global-in or global-out. Interface queues tree do come after simple queues.
I override dynamic Hotspot simple queues the same way to be able to use PCQ.

Simple queues really just transparently generate items in global-in, global-out and global-total. I know the manual says:
If you have simple queues and queue tree in the same HTB - simple queues will get traffic first.
But that isn't how it actually works.
 
User avatar
savagedavid
Trainer
Trainer
Posts: 310
Joined: Thu Aug 25, 2005 12:58 pm
Location: Cape Town, South Africa
Contact:

Re: Simple Queue - Limit at a certain time

Wed Dec 08, 2010 8:30 am

Fair enough - I will test it out myself (I don't mix queue trees and simple queues so I am only referencing the manual). If it is the case we need to lobby to have it changed.
savagedavid
MTCE+T (MikroTik Certified Everything + Trainer)
MikroTik support and training in South Africa
http://www.mikrotiksa.com
david [at] mikrotiksa dot com
 
User avatar
savagedavid
Trainer
Trainer
Posts: 310
Joined: Thu Aug 25, 2005 12:58 pm
Location: Cape Town, South Africa
Contact:

Re: Simple Queue - Limit at a certain time

Wed Dec 08, 2010 8:41 am


Simple queues really just transparently generate items in global-in, global-out and global-total. I know the manual says:
If you have simple queues and queue tree in the same HTB - simple queues will get traffic first.
But that isn't how it actually works.
You are totally correct. I tested it out using the same packet mark for a Simple and Tree queue. The Tree queue gets the packets before the Simple queue.

Thanks for pointing that out - karma for you!
savagedavid
MTCE+T (MikroTik Certified Everything + Trainer)
MikroTik support and training in South Africa
http://www.mikrotiksa.com
david [at] mikrotiksa dot com
 
fewi
Forum Guru
Forum Guru
Posts: 7734
Joined: Tue Aug 11, 2009 3:19 am

Re: Simple Queue - Limit at a certain time

Wed Dec 08, 2010 4:25 pm

I hope they don't change it back - if they do there's no way to run queue trees for rate limiting on PPPoE and Hotspots, which is sorely needed in big deployments.

So I just hope they change the manual ;o)

Who is online

Users browsing this forum: No registered users and 82 guests