Greetings. Is it possible to mark a connection which is marked already? Does it work in shaping? Thinking of using to prioritization traffic.
No you can’t mark a connection within a connection. A connection and packet can only have 1 mark. If you try to give the packet a “second” mark it will just overwrite the first.
I meant, to connection mark again a marked connection. Is it possible?
Haha, connection within a connection. What the hell was I typing
Anyway, no you can’t mark a connection or packet twice, if you try to mark it a second time it will just overwrite the first.
To add to this question:
-
If I want to mark traffic with Mangle, and set-up a Routing Mark (to send out traffic via another gateway), can I only mark the packets, or do i need to mark the connection, and also mark the packet? If I need to mark both, then why? I’ve been only marking packets (and no connections) and haven’t noticed any issues.
1.2. Is there any difference how I should mark connections and/or packets if my intention is to use it in the Routing Table or Queue Tree? -
If I need to mark Connections with Mangle, should i only mark “New” connections, or i don’t need/want to specify “New” so that all of the connections get marked? I’ve seen that some of MikroTik WiKi pages mark “New” connections… but not sure how well it’ll work?
Thanks in advance!
1 - It is generally better to mark connections first the mark the packets within the marked connection. The reason is because it is less resource intensive for the router to mark a connection then only examine the packets in the connection opposed to examining every single packet that comes through the router.
1.2 - no
2 - I don’t. Marking only new connections you could miss packets in a related or established connection.
Thank you! This clarifies my confusion.