can anybody give some advice for the following problem: we priorize traffic based on traffic type (web,p2p,etc..) but this is not enough. if somebody starts several dozens of connections then he/she gets more BW than he/she should… in my opinion this is not fair.. if i set the queue type (or interface queue) to pcq using dst/src address classifying that will fix this problem?
Hi, yes you can use pcq to equalizing your clients bandwith also you can excluding the p2p traffic using mangle and make queue (queue-tree) for your traffic to ensure your clients not taking others bandwith.
You can add a simple queue for every IP in you lan
And limit them download speed.
I think it will make your customer feel more comfortable than stop P2P and other connection
/queue simple
add your client ip in target-address
But for P2p , you can’t block it , you can only limit most of them because there is many ports … for mine I allow my ports needed then drop everything .
after that i can add or trust ip one by one
You have to divide QoS in too parts:
-
prioritization and limitation by types in global-in queue (mangle in prerouting)
-
limiting the clients based on IP address in out-interface queue (mangle in postrouting)