Yes, you can configure the bandwidth allocated by the Hotspot through the queues in MikroTik to manage and limit the bandwidth available to Hotspot users.
This process is performed using “Queue Trees” or “Simple Queues” in RouterOS, MikroTik's operating system, to create rules that specify bandwidth limits for users connected through the Hotspot.
Using Simple Queues
All the Simple Queues They are a direct way to set bandwidth limits. You can create a simple queue for each Hotspot user or for groups of users, specifying the maximum upload and download limit you want to allow.
- Access RouterOS through WinBox or the terminal.
- Navigate to “Queues” and then to “Simple Queues”.
- Create a new Simple Queue and configure the parameters:
- Name: A descriptive name for the queue.
- target: The IP address of the Hotspot user or a range of IP addresses for multiple users.
- Max Limit: Upload and download bandwidth limits.
Using Queue Trees
All the Queue Trees They allow more granular and flexible management of bandwidth, allowing queues to be created based on different criteria and applied to several Hotspot users at the same time.
- Access the settings of your MikroTik device.
- Go to “Queues” and select “Queue Trees”.
- Create a new Queue Tree:
- Name: Assign a name to the queue.
- parent: Specifies the parent interface or queue. For Hotspot traffic, the Hotspot interface or “global-out” is usually selected for outbound traffic.
- Packet Marks: If you have marked packets using mangle in the firewall, you can apply bandwidth limits based on these marks.
- Limit At / Max Limit: Set bandwidth limits.
Hotspot integration
For these queues to work specifically with Hotspot users, it is important to correctly assign the Target in Simple Queues or the Packet Marks in Queue Trees, especially if you are marking packets on the firewall to identify Hotspot traffic.
Additionally, you can automate the creation of queues for new Hotspot users using scripts or through MikroTik's User Manager, which can manage users and assign them specific bandwidth profiles automatically.
Configuring bandwidth through queues in MikroTik provides robust control over network traffic, ensuring equitable bandwidth distribution and improving user experience in Hotspot environments.
There are no tags for this post.