Community discussions

 
User avatar
martini
Member Candidate
Member Candidate
Topic Author
Posts: 296
Joined: Tue Dec 21, 2004 12:13 am

Dynamic queue in DHCp and Hotspot

Sat Mar 27, 2010 1:27 pm

When create dynamic queue in DHCP or Hotspot its show before static queue on the router (with item number 0 and static queue get number 1).
But when create PPP dynamic queue its shown after static queue (static queue stay with number 0 and dynamic whill be 1, 2, 3...).
Why in DHCP and Hotspot queue dont work like in PPP and how can we fix that ???
 
fewi
Forum Guru
Forum Guru
Posts: 7734
Joined: Tue Aug 11, 2009 3:19 am

Re: Dynamic queue in DHCp and Hotspot

Sat Mar 27, 2010 6:07 pm

Hotspot queues get created at the top because there's also a generic Hotspot simple queue that applies traffic shaping to people that haven't logged in ye, its parameters are taken from the Hotspot profile. Simple queues for the users after login must be created above it since otherwise it would trigger first, and per user rate limits would never be applied.

Mikrotik seems to have taken the approach to insert new Hotspot queues at the very top of the simple queue list, rather than just above the generic Hotspot simple queue that would apply to the user, which would also be sufficient.

You can't do anything about that at all to truly fix the issue, you would have to write to support (not to this forum, but to support@mikrotik.com) and petition for a change as a feature request

You _may_ be able to work around things by running scripts that re-arrange queues and are executed by the scheduler, but that's not a very clean solution as you'd have time between script runs where things are in the wrong order for your purposes.

Certain queue tree setups (such as queue trees that inherit directly from global-in and global-out) trigger before simple queues, so you could use queue trees instead to reliably override simple queues.

How viable either approaches are I'm not sure as you didn't describe what specifically you were trying to achieve, and why queue order is an issue for you.
 
User avatar
martini
Member Candidate
Member Candidate
Topic Author
Posts: 296
Joined: Tue Dec 21, 2004 12:13 am

Re: Dynamic queue in DHCp and Hotspot

Sun Mar 28, 2010 12:00 am

thanks for the reply, you turn me on right way ))

Who is online

Users browsing this forum: Google [Bot] and 127 guests