How to prioritize voip traffic in Mikrotik

One of the many fantastic features provided by the Mikrotik RouterOS system is the ability to differentiate and independently prioritise traffic passing through the system based on a wide variety of criteria including source and destination address and port, traffic type and protocol, and even application. A common requirement taking advantage of this funtionality is prioritisation of interactive traffic related to real time and multimedia applications (e.g. VoIP and streaming video) over non real time traffic like mail and web. This article demonstrates how we can use the tools provided in RouterOS to always give priority to VoIP traffic above all else, so that voice calls remain crisp and continuous even while the internet uplink is congested with ftp downloads.

Step 1 – Click firewall tab and navigate to Mangle. Click on + and add new Mangke rule. Choose source address(ip address of your VoIP server).

Step 2 – Navigate to “Action” and make the following configuration.

Step 3 – Click on + and add new Mangke rule. Choose дестинатион address(ip address of your VoIP server).

Step 4 – Navigate to “Action” and make the following configuration.

Step 5 – Your new rules have to look like as below.

Step 6 – Open Queues.

Step 7 – Click + and add new rule. You have to make the following configuration. If you want you can use also target and include range of ip address or all network. If you want to only prioritize voip traffic you should not use target option

Step 8 – Navigate to Advanced and make the following configuration.

Step 9 – Set download and upload limit on your internal network on 30M.

Step 10 – Navigate to Advanced and make the following configuration. You have to set a higher value priority.

Step 11 – Your new rules have to look like as below.

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*
Website