Traffic shaping with HTB. Need help.

Hello,

I use traffic shaping with HTB at one linux box and there is working perfect. But I want to migrate at Mikrotik. When I try to make first shaper to test how it works I get some problems :frowning:
When I try to add your simple examps from http://www.mikrotik.com/docs/ros/2.9/root/queue i recive this msg:
[egg@TestRouter] queue tree> add name=ClassA parent=Local max-limit=2048000
input does not match any value of parent
[egg@TestRouter] queue tree>
But in your print screen I can’t see your root class with name Local,
and in Queue Types I can’t see anywere “Kind = HTB” is this normal ?!
Sorry for questions but maybe I forgot to do something before to use HTB.

p.s. Sorry for bad english.

The “parent” parameter is denoting the interface named “Local” in the example you tried to reproduce. Just exchange this for the name of your interface corresponding to “Local” in the example…

Thank you. This is the exaclty what I miss.
But what about queue type. Queue type stay “default” when I go at /queue types for default stay pfifo. Ill try to add HTB but without any result.

the htb is already there, you do not nees to enable it. the queue hierarchy is built with htb. the queue type you are to specify there is only useful for leaf queues (i.e. such queues which do not have any child-queues), and specify the algorithm of how the packets will be stored in memory.

hmm… maybe would be good to explain it more precisely in manual?.. I’m not sure, when to use which type of queue, when and how these types are used by MT and when interface ruleas are used and when not… sorry but it’s not clear for me, and for many other users, I know