I have my border router which limit the client's traffic using a PCQ queue regardless of type of services.
Now I want to implement a sort of QoS mainly because I need to slow down the P2P traffic. By means of mangle rules, now I am able to classify and mark the traffic (http, ftp, gaming and P2P ...) but I don't know how to limit it.
I want to limit the total client traffic to, let's say, 12 Mbit/s and the P2P to 1 Mbit/s. For example if one client gets all the 1 Mbit/s for P2P he can surf on internet for the remaining 11 Mbits/s .
How can I do ?
Thank you.