I’ve just configured the Hotspot using Mikrotik Hap ac2, but there is no way to limit the rate per user. For some reasons, the rate limit option doesn’t work in the User Profiles. In particular, I’ve set the value 20M/20M in the default “User Profile” and assigned this profile in the tab “Users”.
After that I go into the queue and see that for each connected user the values 100M / 100M are set.
Rate limit could only be set entirely to a point using “Server profiles”, however, it is necessary to set limits for each user.
From what your story, you set hotspot using Local User database (“Users” tab). Your goal is to limit user bandwith.
Have you try using simple queue on that particular queue target=user ip? When create the entry to make it work, drag the entry on top your dynamic queue created by the hotspot related to that user ip. Or simply drag it to first line just to make sure the entry should be run.
Example :
User A with IP 172.16.16.254, you want to limit at Download 2Mbps Upload 2Mbps
at terminal :
/queue simple add disabled=no max-limit=2M/2M name=A packet-marks=“” parent=none priority=8/8 queue=default-small/default-small target=172.16.16.254/32
If not work, please export your mikrotik config with hide your sensitive info like public ip,serial number, password,etc.
Hi, in case you haven’t figured out the answer yet I believe I found the solution. I was lately playing with hotspot a bit
it seems that enabling “Add ARP for Leases” for hotspot DHCP pool is the key.
Also - you can nest rate-limit queues :
you need hotspot queue manually (instead one on server profile level) - it does not work on dynamically created ones
then on user profile queue you select the one created as parent queue
result - dynamic queues are created per user and nested within main limiting queue
And back to non-working state…
when I moved to real hardware it does not seem to work at all. Queue is created, see some traffic there, but like 1% of real traffic for this client.
Eg. doing speedtest I can see 200Mbit, but looking at queue live I can see around 200kbps traffic for this IP. What is going on ? And limits for user were specified like 20M/5M D/U