Community discussions

MikroTik App
 
User avatar
evert
Member Candidate
Member Candidate
Topic Author
Posts: 130
Joined: Thu Jul 15, 2004 3:06 pm
Location: Sarpsborg, Norway
Contact:

Packet Mark

Thu Sep 01, 2005 2:51 pm

Hi all!

Just wondering about the following: In 2.8 when marking packets you could either set the action to 'accept' or 'passthrough', thereby determining whether the rest of the mangling would be processed for the packet or not.

In 2.9 when I get the action to 'mark packet' does that mean the rules processing stops with the first 'mark packet' rule matching the packet? Or does a packet end up with several markings?
 
RaynMan
newbie
Posts: 33
Joined: Fri May 28, 2004 11:54 am
Location: Durban, South Africa

Thu Sep 01, 2005 7:12 pm

Can't be sure, but the way it seems is that by default when you mark a packet it carries on as per 'passthrough'...

If you then have an accept action (rather than mark-packet) looking for that mark then it'll stop, otherwise it'll carry on until it finds another rule that applies to it, where it then overwrites the previous mark...

That's how I see it...

Will check some more tonight...
 
User avatar
evert
Member Candidate
Member Candidate
Topic Author
Posts: 130
Joined: Thu Jul 15, 2004 3:06 pm
Location: Sarpsborg, Norway
Contact:

Thu Sep 01, 2005 7:29 pm

So I should to it the 'old' way (action either 'accept' or 'passthrough' & do the marking on the left-most tab) to re-create my 2.8 config...?
 
User avatar
evert
Member Candidate
Member Candidate
Topic Author
Posts: 130
Joined: Thu Jul 15, 2004 3:06 pm
Location: Sarpsborg, Norway
Contact:

Thu Sep 01, 2005 8:17 pm

Well, that doesn't work... :?

As soon as I change a mangle rule from 'Packet mark' to 'Accept' or 'Passthrough' and use the left-most tab to indicate the marking instead, the packet throughput of that rule drops to 0...