![]() TESTING FROM DSL1_USERS_LIST = 192.168.2.6ĭescription. Mikrotik address list to route Pc## Finally create NAT rule so that users (ip range) internet can workĪdd action=masquerade chain=srcnat disabled=no src-address=192.168.2.0/24įrom Client PC # 1 whose ip address is 192.168.2.6, run TRACEROUTE command # Create Routes for above marked packets so each marked packets goes via specific wan link onlyĪdd disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.5.2 routing-mark=wan1_user scope=30 target-scope=10Īdd disabled=no distance=2 dst-address=0.0.0.0/0 gateway=192.168.6.2 routing-mark=wan2_user scope=30 target-scope=10 # Marking Users connection coming from specific address listsĪdd action=mark-routing chain=prerouting disabled=no new-routing-mark=wan1_user passthrough=no src-address-list=DSL1_USERS_LISTĪdd action=mark-routing chain=prerouting disabled=no new-routing-mark=wan2_user passthrough=no src-address-list=DSL2_USERS_LIST # Create 2 Address lists and add ip as per required, you can add Range as well.Īdd address=192.168.2.6 disabled=no list=DSL1_USERS_LISTĪdd address=192.168.2.7 disabled=no list=DSL2_USERS_LIST Mikrotik address list to route series#STEP#4: Then simple add one NAT rule for local ip series and Action masquerade.STEP#3: Then we should specify two default routes (destination 0.0.0.0/0) with appropriate routing marks and gateways.STEP#2: Then We have to add two IP Firewall Mangle rules to mark the packets originated from user 1 and user2.STEP#1: First we will create ADDRESS-LIST, and add our users in the list,.To accomplish this task, the simple logic is … Now we will route users through DSL-1 OR DSL-2 wan links based on there ip addresses. Let us assume that we have 2 Users lists. You can take this idea and modify it according to your requirement, either use this logic and mix it with hotspot or pppoe base setup. I am just sharing basic logic on how i achieved it. I accomplished this task by adding 2nd DSL line with the Mikrotik BOX and few rules, and Alhamdolillah it worked fine :). ![]() ![]() ![]() He wanted to manage all users / link via single Mikrotik router-board. Recently at a local work setup gulzar-e-hijri, an OP asked told me that he wanted to add an extra DSL line just for some specific users (VIP users who are paying some extra money for better speed, as the current single dsl is getting clogged by over subscribed users. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |