Bandwidth control encompasses both Quality of Service (QoS) and Smart Queue Management (SQM):
Rate limiting allows the device to limit the traffic that egresses through a port to a value less than the available link bandwidth. So if there’s a network peer consuming too much bandwidth you can limit their egress and ingress flow rate and effectively reduce network congestion experienced by other peers.
In the General Settings page the default upload and download rates are rates which are applied for entries in the Limit by IP and Limit By Mac sections when they’re added without specifying a limit.
The whitelist are for devices that should not have any effect on their bandwidth no matter what happens.
Firewall - QoS - General Settings
An example entry for limiting by IP address.
Firewall - QoS - Limiting by IP
Limiting by MAC address is highly preferable to IP Address as it’s much harder for a user to change a device’s mac address than it is to change the IP.
Here’s a simple limit added to a client on the network:
Firewall - QoS - Limiting by MAC
If you’re thinking of an easy way to get the MAC addresses of the client, all you need to do is go into the Static Leases section of the DNS & DHCP Configuration and copy from there.
DNS & DHCP - A quick way to find MACs
QoS does rate limiting the old way as it doesn’t really care about what the packets look like, it just will cut off the user at a certain point, but SQM works in a very clever way to prioritize packets based on what they actually are.
Setting up SQM is very straight-forward. You just need to type in the ISPs advertised download and upload speeds or just click on the “Auto Fill Speeds” button which will do it for you.
Firewall - QoS - SQM
When you fill in the speeds using the auto fill button, it will calculate the exact amount you need by subtracting the necessary values instead of you having to do it yourself. If you think it’s way off (it should be within ~90 - 95% of the advertised speeds) by +5% or -5% feel free to make the changes yourself and save the settings.
It’s a good idea to check your routers bufferbloat results using this really great tool. We did a couple of tests with and without enabling SQM and below are the results.
Firewall - QoS - Results Pre SQM
Firewall - QoS - Results post SQM