Community discussions

MikroTik App
 
madmoses
just joined
Topic Author
Posts: 18
Joined: Mon Sep 26, 2016 6:19 pm

Bandwidith limit per user (IP)

Fri Oct 21, 2016 11:44 am

Hi,

I want to limit every users bandwidth (DOWN 3Mbit/UP 256KB). How can I do this? Every user gets an IP from DHCP server.
I tried to do this with PCQ, but I only achieved to limit the total bandwidth for an IP range. This is not what I am looking for :)

What do I need?

Thank you!
 
mducharme
Trainer
Trainer
Posts: 1777
Joined: Tue Jul 19, 2016 6:45 pm
Location: Vancouver, BC, Canada

Re: Bandwidith limit per user (IP)

Fri Oct 21, 2016 12:32 pm

That is what PCQ does, you must have not configured it correctly.
 
User avatar
pietroscherer
Trainer
Trainer
Posts: 170
Joined: Thu Mar 05, 2015 3:05 pm
Location: RS, Brazil
Contact:

Re: Bandwidith limit per user (IP)

Fri Oct 21, 2016 2:21 pm

Hi,

I want to limit every users bandwidth (DOWN 3Mbit/UP 256KB). How can I do this? Every user gets an IP from DHCP server.
I tried to do this with PCQ, but I only achieved to limit the total bandwidth for an IP range. This is not what I am looking for :)

What do I need?

Thank you!
Hello,

MikroTik wiki is a good place :) :

http://wiki.mikrotik.com/index.php?titl ... edirect=no
 
madmoses
just joined
Topic Author
Posts: 18
Joined: Mon Sep 26, 2016 6:19 pm

Re: Bandwidith limit per user (IP)

Fri Oct 21, 2016 5:10 pm

Thank you guys!

According to the wiki example. I tried to follow step 2:
/queue type add name="PCQ_download" kind=pcq pcq-rate=64000 pcq-classifier=dst-address
/queue type add name="PCQ_upload" kind=pcq pcq-rate=32000 pcq-classifier=src-address
(Is working)
But adding the simple queue throws the following error:
/queue simple add target-addresses=192.168.0.0/24 queue=PCQ_upload/PCQ_download
expected end of command (line 1 column 19)
What is wrong?

Thank you!
 
User avatar
pietroscherer
Trainer
Trainer
Posts: 170
Joined: Thu Mar 05, 2015 3:05 pm
Location: RS, Brazil
Contact:

Re: Bandwidith limit per user (IP)

Fri Oct 21, 2016 7:05 pm

Thank you guys!

According to the wiki example. I tried to follow step 2:
/queue type add name="PCQ_download" kind=pcq pcq-rate=64000 pcq-classifier=dst-address
/queue type add name="PCQ_upload" kind=pcq pcq-rate=32000 pcq-classifier=src-address
(Is working)
But adding the simple queue throws the following error:
/queue simple add target-addresses=192.168.0.0/24 queue=PCQ_upload/PCQ_download
expected end of command (line 1 column 19)
What is wrong?

Thank you!
In rOS v6, target-addresses is now "target" only:
/queue simple add target=192.168.0.0/24 queue=PCQ_upload/PCQ_download

Who is online

Users browsing this forum: No registered users and 21 guests