hi
I try to understand well QoS in RouterOS and I have one question.
I’m accustom to use tc from a command so please tell me HOW to properly implement this scenerio:
tc qdisc add dev eth0 root handle 1: htb default 12
tc class add dev eth0 parent 1: classid 1:1 htb rate 100kbps ceil 100kbps
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 30kbps ceil 100kbps
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 10kbps ceil 100kbps
tc class add dev eth0 parent 1:1 classid 1:12 htb rate 60kbps ceil 100kbps
I think that in RouterOS there is not such thing like default class
but what about the rest?
I also want to add SFQ uder every 1:1x class
hi
I try to understand well QoS in RouterOS and I have one question.
I’m accustom to use tc from a command so please tell me HOW to properly implement this scenerio:
tc qdisc add dev eth0 root handle 1: htb default 12
tc class add dev eth0 parent 1: classid 1:1 htb rate 100kbps ceil 100kbps
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 30kbps ceil 100kbps
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 10kbps ceil 100kbps
tc class add dev eth0 parent 1:1 classid 1:12 htb rate 60kbps ceil 100kbps
I think that in RouterOS there is not such thing like default class
but what about the rest?
I also want to add SFQ uder every 1:1x class
You should consider just build a new QoS implementation thats suits you better than using this “tc” as guindance. There are plenty of suggestions on forum and wiki you should see also. NO, its not that really hard. Basicaly you first will mangle and then, submit it on queues attached to interface you have. Perhaps, what if you provide more info on what you need?
If u wanna use HTB, in MT u must set it on Tree Queue. If u wanna use this kind of queue first off al u must do mark-packet both up and down traffic.
In MT rate equal to limit-at and ceil equal to max-limit.
May u read wiki first http://wiki.mikrotik.com/wiki/Bandwidth_Managment_and_Queues
Hi
thx you all for advice. I know that i need to mark packet, I also read all wiki treads but most of them basis on simple queue!
i want to setup a queue tree .. and ALL I want to know how to put above tc rules (besides DEFAULT param) into MT queue engine. that’s all!
does I need to create 1: queue ?
in this example wireless-default queue is an sfq queue
and question: suppose all traffic is going through this queue tree. am I limited to 3*128=384 packets per second ? (manual says: The whole SFQ queue can contain 128 packets …)