Community discussions

MikroTik App
 
rz8168
newbie
Topic Author
Posts: 43
Joined: Tue Jun 01, 2004 2:10 pm

PCQ Question

Fri May 05, 2006 3:28 am

Just a question....
Is it doable if i want to get Mikrotik to limit like this

p2p (limit at 128k)
web (limit at 1Mb)
other (limit at 1Mb)
-----------------------
But total bandwith limit per IP connection is 1Mb disregard the total queue limit combined.

Say if I have a pcq queue for p2p say 256k and for all other traffic at 1000k, if a client used up all other traffic 1000k and plus p2p 256k, does that mean the client using the total bandwidth 1256k? Is it possible to limit it to 1000k for total per connection regardless the total limit of all pcq queue combined.
 
n3wwn
just joined
Posts: 22
Joined: Fri Oct 08, 2004 5:39 pm
Location: Greensburg, PA, USA
Contact:

Re: PCQ Question

Fri May 05, 2006 5:48 pm

Is it doable if i want to get Mikrotik to limit like this

p2p (limit at 128k)
web (limit at 1Mb)
other (limit at 1Mb)
-----------------------
But total bandwith limit per IP connection is 1Mb disregard the total queue limit combined.

Say if I have a pcq queue for p2p say 256k and for all other traffic at 1000k, if a client used up all other traffic 1000k and plus p2p 256k, does that mean the client using the total bandwidth 1256k? Is it possible to limit it to 1000k for total per connection regardless the total limit of all pcq queue combined.
I haven't tried this, but how about doing this:

1) Mangle all packets for a particular IP with a Flow Mark.
2) Create an entry in Queue Tree to limit the IP Flow Mark to 1Mbps
3) Mange all packets for a particular IP and matching p2p with a Connection Mark
4) Create an entry in Queue Tree to limit the p2p traffic using the entry in #2 as the Parent

-Rich