Hi!
I want to make this kind of limit:
let’s say user1,user2,user3 have 512/512kbps download/upload rate, i want to group them in one queue and give them 1mbps so they can’t achieve full speed all together connected.But i don’t want this queue to affect to other users,only certain users.
i think this can be done with PCQ queues?
I run PPPoE server on ROS 3.11 and radius on linux.
Thanks again!
To allow 1 Mbps for 3 users, it’s better to use PCQ.
Note, when user is online, it gets 1Mbps, 2 users 1Mbps/2, 3 users 1Mbps/3.
Specified Traffic/Number of users.
http://www.mikrotik.com/testdocs/ros/3.0/qos/queue_content.php#.6.3
This is my setup, it limits only download, but not upload, i don’t know what is wrong.
queue type
set default kind=pfifo name=default pfifo-limit=50
set ethernet-default kind=pfifo name=ethernet-default pfifo-limit=50
set wireless-default kind=sfq name=wireless-default sfq-allot=1514
sfq-perturb=5
set synchronous-default kind=red name=synchronous-default red-avg-packet=1000
red-burst=20 red-limit=60 red-max-threshold=50 red-min-threshold=10
set hotspot-default kind=sfq name=hotspot-default sfq-allot=1514 sfq-perturb=
5
add kind=pcq name=queue1 pcq-classifier=“” pcq-limit=50 pcq-rate=0
pcq-total-limit=2000
add kind=pcq name=pcq-download pcq-classifier=dst-address pcq-limit=50
pcq-rate=0 pcq-total-limit=2000
add kind=pcq name=pcq-upload pcq-classifier=src-address pcq-limit=50
pcq-rate=0 pcq-total-limit=2000
set default-small kind=pfifo name=default-small pfifo-limit=10
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0
max-limit=128000 name=Download packet-mark=“” parent=ether1 priority=8
queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0
max-limit=0 name=queue7 packet-mark=users parent=Download priority=8
queue=pcq-download
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0
max-limit=128000 name=Upload packet-mark=“” parent=wlan1 priority=8
queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0
max-limit=0 name=queue9 packet-mark=users parent=Upload priority=8 queue=
pcq-upload