Right at the bottom of http://www.mikrotik.com/docs/ros/2.9/root/queue is an example of how to share bandwidth equally among users on a per-ip basis, ie. the pcq-classifier is per src-address or per dst-address.
What if the users have multiple IPs? Is it possible to still use pcq to share bandwidth equally amongst users?
More info: I’m basically asking this question in the context of a colocation provider. Each colocated server has multiple IPs. When nobody else wants to use the bandwidth, each one is allowed to use the full 10Mbps link. However, if multiple users want to use the link, they should share it “equally” (or in a ratio/priority that can be defined).
Here are the options as I see them:
SFQ over all servers - not quite right. SFQ equalises b/w on per tcp/udp connection basis, so if one server has many connections, it will get more of the b/w compared to a server with just one connection.
PCQ - not appropriate. Classifying by src/dst port is incorrect. Classifying by src/dst ip address is incorrect when a server may have multiple ip addresses. Can PCQ be used with mangle packet marks?