Priorize Management traffic inside Dynamic Simple Queues

Hi!

We install Public hotspots using Mikrotik Hardware since years, and we have a nice control of all the features, but we are going nuts with this queue issue, hope someone with a similar scenario could help!

Our users get authenticated and in turn a dynamic simple queue is generated to limit each user’s bandwidth with parameters provided by a RADIUS Server.

Obviously we want to limit the Internet traffic of those users, but we would like to Priorize the management traffic such us the RADIUS accounting packets, as we have found that when the users make an intese use of their connection, some of this RADIUS packets share the same queue and sometimes are lost and need to be resend.

We already create mangle rules for marking all the management traffic and we have created a Queue Tree, but when the user is using 100% of the given Max Limit, the management packets are dropped too.

Is there a way to keep the Dynamic Simple Queues for assigning the total bandwidth to every hotspot user, but at the same time to priorize the control traffic that has been previously marked with mangle? Thanks in advance for your recommendations!

Hi, there are two possibilities:

  1. Create an on-up and on-down script to add a queue heirarchy (parent-child) and delete it on logout. The only downside is that, if the router loses power, you need to have some routine to clean up the extra queues which would be left over on startup.

  2. You could make a “management” simple queue, matching just your RADIUS and management traffic, and place that before the dynamic simple queues for your customers (in the settings you can control whether dynamic simple queues are created at the beginning of the list or at the end). Then the management traffic will hit that management simple queue instead of the customer queue, and should not get dropped once utilization is increased.