Simple QoS - prioritizing traffic to/from NAS server

Hello,

I have a NAS server on my network, that I use as a data storage to play films from to TV (via SAMBA protocol). I don’t have any QoS implemented right now on my Mikrotik RB9xx router. Sometimes when other users download a lot of files from the internet (high speed connection - 80M) it is impossible to watch a movie played from NAS as the network is flooded and the movie stutters.

I would like to prioritize SAMBA packets coming to/from from a NAS server (static IP - let’s say 192.168.1.2). How can achieve this?

I have tried creating two simple queue rules specifying only:

  • destination: 192.168.1.2, priority = 1
  • target: 192.168.1.2, priority = 1

But it doesn’t seem to work.

I’ve also studied: http://forum.mikrotik.com/t/using-routeros-to-qos-your-network-2020-edition/66683/1
and tried to identify packets via Mangle, but I’m not sure which Chain or Protocol should I use.

You’ll want to create an HTB tree. First, you have to identify the priority traffic in mangle and mark it. Then, you will identify all of the rest of the traffic and mark it. In the queue tree, you will set limits based on those marks. Check out the wiki on how to setup queue trees.