Traffic shaping by MAC address?

Is there a way to configure openWRT to do traffic shaping by MAC address?
For instance, if only one device is connected, it will get 100% available bandwidth, if 4 devices are connected, 1/4 of the bandwidth....

SQM with Cake configured for per internal ip fairness should do that, based on ip not MAC, though.
https://openwrt.org/docs/guide-user/network/traffic-shaping/sqm-details

1 Like