Community discussions

MikroTik App
 
ibm
Member
Member
Topic Author
Posts: 306
Joined: Mon May 12, 2014 5:16 pm

Nested queue PCQ and total limit reached

Sat Jun 21, 2014 5:45 pm

I followed this guide for a pcq approach to profiling clients http://mum.mikrotik.com/presentations/US08/janism.pdf
Now I need to create subqueue for limiting some service that i previously marked in mangle and also for give priority 1 to the connection of every client to a specified server.
How I can do that?
I tried with the follow rules but the traffic of the subqueue LIMIT-SERVER-DOWN and CLIENTS-4MEGA-DOWN are combined so generates 5 mega of traffic instead the 4 mega that would be.

/queue type
add kind=pcq name=PCQ-DOWN-4M pcq-burst-rate=4096k pcq-burst-threshold=3M \
pcq-burst-time=40s pcq-classifier=dst-address pcq-dst-address6-mask=64 \
pcq-rate=3M pcq-src-address6-mask=64 pcq-total-limit=8000
add kind=pcq name=PCQ-UP-512K pcq-burst-rate=512k pcq-burst-threshold=400k \
pcq-burst-time=40s pcq-classifier=src-address pcq-dst-address6-mask=64 \
pcq-rate=400k pcq-src-address6-mask=64 pcq-total-limit=8000
add kind=pcq name=SERVER-LIMITED-DOWN pcq-classifier=dst-address \
pcq-dst-address6-mask=64 pcq-rate=1500k pcq-src-address6-mask=64 \
pcq-total-limit=10000
add kind=pcq name=SERVER-LIMITED-UP pcq-classifier=src-address \
pcq-dst-address6-mask=64 pcq-rate=150k pcq-src-address6-mask=64 \
pcq-total-limit=10000
/queue tree
add name=TOTAL-DOWNLOAD parent=global priority=1 queue=default
add name=CLIENTS-4MEGA-DOWN packet-mark=CLIENTI-4MEGA-PCKS parent=\
TOTAL-DOWNLOAD priority=2 queue=PCQ-DOWN-4M
add name=TOTAL-UPLOAD parent=ether5 priority=1 queue=default
add name=CLIENTS-4MEGA-UP packet-mark=CLIENTS-4MEGA-PCKS parent=TOTAL-UPLOAD \
priority=2 queue=PCQ-UP-512K
add name=LIMIT-SERVER-DOWN packet-mark=heavy-traffic parent=CLIENTS-4MEGA-DOWN \
priority=7 queue=SERVER-LIMITED-DOWN
add name=LIMIT-SERVER-UP packet-mark=heavy-traffic parent=CLIENTS-4MEGA-UP \
priority=7 queue=SERVER-LIMITED-UP
You do not have the required permissions to view the files attached to this post.
 
ibm
Member
Member
Topic Author
Posts: 306
Joined: Mon May 12, 2014 5:16 pm

Re: Nested queue PCQ and total limit reached

Sun Jun 22, 2014 4:43 pm

UP
 
ibm
Member
Member
Topic Author
Posts: 306
Joined: Mon May 12, 2014 5:16 pm

Re: Nested queue PCQ and total limit reached

Sat Jun 28, 2014 4:56 pm

Any help?
 
ibm
Member
Member
Topic Author
Posts: 306
Joined: Mon May 12, 2014 5:16 pm

Re: Nested queue PCQ and total limit reached

Sun Jun 29, 2014 11:36 am

What a factor that the queue is of pcq type?
 
ibm
Member
Member
Topic Author
Posts: 306
Joined: Mon May 12, 2014 5:16 pm

Re: Nested queue PCQ and total limit reached

Sat Jul 05, 2014 12:03 pm

Bump
 
ibm
Member
Member
Topic Author
Posts: 306
Joined: Mon May 12, 2014 5:16 pm

Re: Nested queue PCQ and total limit reached

Mon Jul 07, 2014 10:52 am

Bumpl

Who is online

Users browsing this forum: Amazon [Bot], Bing [Bot], Techsystem and 17 guests