Page 1 of 1
Bandwidith limit per user (IP)
Posted: Fri Oct 21, 2016 11:44 am
by madmoses
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!
Re: Bandwidith limit per user (IP)
Posted: Fri Oct 21, 2016 12:32 pm
by mducharme
That is what PCQ does, you must have not configured it correctly.
Re: Bandwidith limit per user (IP)
Posted: Fri Oct 21, 2016 2:21 pm
by pietroscherer
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
Re: Bandwidith limit per user (IP)
Posted: Fri Oct 21, 2016 5:10 pm
by madmoses
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!
Re: Bandwidith limit per user (IP)
Posted: Fri Oct 21, 2016 7:05 pm
by pietroscherer
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