Community discussions

MikroTik App
 
User avatar
fatonk
Member
Member
Topic Author
Posts: 438
Joined: Tue Feb 22, 2005 11:06 am
Location: Mitrovica/Kosova

PCQ configuration in ver. 2.9

Tue Oct 04, 2005 10:06 am

Hello,

Can anyone help me on how to configure the following configruration done in ver. 2.8, to configure in ver. 2.9:

Bandwitdh limitaion for p2p trafic
add src-address=10.84.0.0/16 mark-flow=p2p-out p2p=all-p2p action=accept
add dst-address=10.84.0.0/16 mark-flow=p2p-in p2p=all-p2p action=accept
add name=p2p-out kind=pcq pcq-rate=56000 pcq-classifier=src-address
add name=p2p-in kind=pcq pcq-rate=56000 pcq-classifier=dst-address
add name=p2p-in parent=global-in flow=p2p-in queue=p2p-in
add name=p2p-out parent=global-out flow=p2p-out queue=p2p-out

Bandwitdh limitation for all user to get 128Kbps
add action=accept mark-flow=all
add name=PCQ-Down kind=pcq pcq-rate=131072 pcq-classifier=dst-address
add name=PCQ-Up kind=pcq pcq-rate=131072 pcq-classifier=src-address
add parent=global-in queue=PCQ-Down flow=all
add parent=global-out queue=PCQ-Up flow=all

The above mentioned configuration I want to implement in ver 2.9 but, what I can find in Mikrotik's user manual is not very helpfull.

Thanks in advance.

Faton
 
User avatar
bholler
Trainer
Trainer
Posts: 95
Joined: Wed Feb 09, 2005 10:22 pm
Location: Nigeria
Contact:

Tue Oct 04, 2005 8:45 pm

Hello,

Can anyone help me on how to configure the following configruration done in ver. 2.8, to configure in ver. 2.9:

Bandwitdh limitaion for p2p trafic
add src-address=10.84.0.0/16 mark-flow=p2p-out p2p=all-p2p action=accept
add dst-address=10.84.0.0/16 mark-flow=p2p-in p2p=all-p2p action=accept
add name=p2p-out kind=pcq pcq-rate=56000 pcq-classifier=src-address
add name=p2p-in kind=pcq pcq-rate=56000 pcq-classifier=dst-address
add name=p2p-in parent=global-in flow=p2p-in queue=p2p-in
add name=p2p-out parent=global-out flow=p2p-out queue=p2p-out

Bandwitdh limitation for all user to get 128Kbps
add action=accept mark-flow=all
add name=PCQ-Down kind=pcq pcq-rate=131072 pcq-classifier=dst-address
add name=PCQ-Up kind=pcq pcq-rate=131072 pcq-classifier=src-address
add parent=global-in queue=PCQ-Down flow=all
add parent=global-out queue=PCQ-Up flow=all

The above mentioned configuration I want to implement in ver 2.9 but, what I can find in Mikrotik's user manual is not very helpfull.

Thanks in advance.

Faton




i guess where u are having problem is when marking the packets, and that is what makes the difference btw v2.8 and v2.9.

what u need to take into consideration is the command line ..e.g to mark packet with mark-flow=p2p-out :

add chain=forward src-address=10.84.0.0/16 action=mark-packet \
new-packet-mark="p2p-out" disabled=no

if you are succesful with your packet marking....every other thing is ok... PCQ in 2.9 still remains the same.

Who is online

Users browsing this forum: Ahrefs [Bot], alibloke, Google [Bot], massinia and 110 guests