RouterOS as a traffic shapper

I have a RouterOS in a PC working as a traffic shapper, like the example given in the wiki.

I want to do shape traffic in this way:
1- having different groups of users classified by address lists in /firewall/address_lists
2- have traffic priorization on the whole network depending on ports (ex http high priority)
3- apply different speed limits to clients depending on the address lists they are in

i know it is possible to do something like this. But i´m lost, i don´t know where to start. Any ideas?
Do you think this is a good idea to implement that policy in a medium size network? (i´m a wisp with 150clients).

sorry for my poor english.

Kolorosta, yes it is very good and logical policy for the medium network.
The particular examples are covered at the MikroTik advanced training for the QoS,
http://training.mikrotik.com
Such kind of example is covered in details.

Shortly, configuration scenario should be like this,

  • create few groups with mangle and address-list.
  • use previosly created mangle marks (they should come from chain=prerouting) to set limit for the clients. Probably PCQ will be more effective to equalize/limit data between the clients. PCQ configuration examples are available at the documentation and wiki.
  • create additional mangle rules for priority, these rules are added at chain=forward, limit-at and max-limit-at are not required for priority rules. Add these rules to queue simple and use local/remote interfaces for configuration.

mmmm i think i will have to take an advanced trainning then… :slight_smile:
thank you sergejs

sergejs, i have some doubt about this step:

  • create additional mangle rules for priority, these rules are added at chain=forward, limit-at and max-limit-at are not required for priority rules. Add these rules to queue simple and use local/remote interfaces for configuration.

when you say “use local/remote interfaces for configuration” what do you mean. in simple queue only apear:
all
ether1
ether2
bridge1

Which should i use?

remember that i have a transparent traffic shapper (like suggested in the wiki)

and when you say “limit-at and max-limit-at are not required for priority rules”, you mean that i have to leave them setted as “unlimited” or i have to disable them unchecking the checkbox?

if you say that i should leave the checkboxes checked and setted in “unlimited”, what queue type should i use?

What queue type should i use in total?

thanks in advance

your configuration scenario was very helpful for me…

Excuse me for misinformation, you have to use ‘interfaces=all’.
You should leave untouched limit,max-limit,total-limit fields.

zenkiu zenkiu zenkiu

sergejs, if i publish the configuration (code and if you want, images too) can you take a look at it… if you think it’s all right, i will publish it step by step (uhh babyyyy :laughing: ) how i accomplish in case it is useful to someone else.

Yeah, it wold be! But i have posted some configuration in post “queue tree priorities” but no one answered. I don/t know why - if there is real problem or questions with MikroTik - no one can/want to answer?!

ok ..let me get inspired to write the post.. and then i will publish the config here and i’m sure that some guru will help to tune it