Selective Policy-Based Routing with Mikrotik RouterOS
This guide assumes that you have two Internet Connections of different or the same provider. Selective policy-based routing is useful when you want to route specific services to a dedicated or specific network or service provider (e.g all voip connections goes to provider “A” and all http connections goes to provider “B”).

Benefits of Policy-based routing
- Load sharing - when you want to separate the voice from data traffic, or assign bandwidth hunger services to a much bigger bandwidth pipe.
- Quality of Service - all network services will have a fair weighted share of bandwidth, such as network administrator will be able to classify what services would be routed or assign to a bigger bandwidth link.
Setting up Mikrotik RouterOS for Policy-based Routing
- Login to your Mikrotik winbox
- Once logged in, click on “IP -> Routes” then add a route
- Select the gateway where you want to route selected traffic or protocols, under the “Mark” input box enter the name of the route (we will be using the route name later for marking packet route), Click Ok.

After adding the route name in your routing table, we will now proceed to the packet mangling, where all packet alteration will be done.
- Click on “IP -> Firewall -> Mangle”, then click add. Under general tab, input your src address, destination address, protocol these are not required, only if you want to be too specific with your mangling rule.
-

- Click on “Action” tab, then under Action, select the “Mark Routing” then enter the routing name where you want the traffic to be routed under the “New Routing Mark”.

- Lastly, Click ok.
To check if the traffic is routed to the desired link, perform a traceroute.
If you are looking for a company who can help you set this up for you or you have a complex network implementation that you wanted to get done then visit StickyMedia Solutions Inc.
Spread the word
del.icio.us Digg Furl Google StumbleUpon Technorati Windows Live Yahoo! Help



















Leave a Comment