Community discussions

MikroTik App
 
itcoresys
newbie
Topic Author
Posts: 26
Joined: Mon Oct 03, 2011 7:14 am

Mangle Rules Order/Matching

Fri Mar 09, 2012 11:09 pm

Do mangle rules get processed in order?

I have two mangle rules and both rules are being hit by each packet and the last matching rule is the packet mark that wins.

Id like the first matching mangle rule to mark the packet and no more possible matches with other mangle rules.
 
tws101
Member Candidate
Member Candidate
Posts: 283
Joined: Thu Sep 08, 2011 11:25 pm

Re: Mangle Rules Order/Matching

Fri Mar 09, 2012 11:34 pm

When editing the second mangle rule under the general tab add your first routing mark and check the is not exclusion box to the left of it.

So the second rule will only trigger if the packet is not already marked by "routing mark" in addtion to its other instructions.

You can also control this with the pass-through option.

Who is online

Users browsing this forum: No registered users and 36 guests