On 05/07/2014 12:17 PM, Marko Cupać wrote:
> Thank you for reply.
>
> I have been trying some trial and error tests, and I came to similar
> conclusion, but I would like to understand the design idea behind match
> rule.
>
> Who wins, the first or the last matching rule? Or do they all stick
> together? What if they are conflicting, like in this case?
>
> Thank you in advance,
As Henning Brauer said, the rewrite are applied immediately. So the
first match rule will rewrite IP from the packet and the second match
will be evaluated on the new IP rewritten.
There is no win, the packet is passed thru all match rules and the
action is applied directly if it match, from first to last.

Reply via email to