Page 1 of 1

grouping connections

Posted: Sat May 05, 2007 10:20 pm
by kchris
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?

Posted: Wed May 09, 2007 2:42 pm
by usrox
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.

Posted: Thu May 10, 2007 8:32 am
by winxp2000
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

Posted: Thu May 17, 2007 7:48 pm
by skynoc
/queue simple

add your client ip in target-address

Posted: Fri May 18, 2007 1:01 am
by Ghassan
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

Re: grouping connections

Posted: Fri May 18, 2007 10:48 am
by macgaiver
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?
You have to divide QoS in too parts:

1) prioritization and limitation by types in global-in queue (mangle in prerouting)

2) limiting the clients based on IP address in out-interface queue (mangle in postrouting)