We are running Ookla Speedtest server and want to limit download bandwidth per IP (350Mbit/s per IP). And I cannot find some examples how to do that. All the examples with tc are about how to limit bandwidth to some set of IP addresses. But in our case destination IP may be anywhere on the Internet.In some other question I found an idea that I could define e.g. 256 queues and then filter IPs by the last byte. But wouldn't 256 ip filter rules affect performance? And since this is Speedtest server I would like the best latency and throughput (within limit) possible.
How to limit download bandwidth per IP?
networking;tc;qos