Hi Mike, My understanding is that connection marks are used to reduce CPU loading, as if you mark routing on every packet without the connection mark, then the rule is run for every packet that matches the mark. If you use a connection mark, then mark the routing, it only runs the rules on the first packet of every connection, and the connection mark holds the routing mark. Which you can see if you look at the in connection tracking. Steve On Tue, 2016-06-28 at 13:47 +1000, Mike Everest wrote:
Hi Paul,
You can do it that way, or mark explicitly on other parameters alone - for example, if you want to send traffic destined for a specific remote (e.g SIP server or something) then you may as well skip the connection marking step and just mark route based on destination IP.
The only time I use connection marking first is if I want to set a route mark depending on some other test, like for traffic entering some particular interface for replies to be routed back out the same interface.
There are probably other reasons to use connection marks, but I can't think of any at the moment ;-)
Cheers!
Mike.
-----Original Message----- From: Public [mailto:public-bounces@talk.mikrotik.com.au] On Behalf Of Paul Julian Sent: Tuesday, 28 June 2016 1:37 PM To: public@talk.mikrotik.com.au Subject: [MT-AU Public] Route marking
Hi guys, just wanting to confirm something here due to some strange behaviour which might be admin induced J
When using mangle rules to put a routing mark onto packets, does one approach this the same as typical packet marking by marking the connection and then the packets based on the connection mark ? I setup a routing mark rule in this fashion but it did weird things, as
soon as I
just identified the packets directly based on a dest address instead of a connection rule first, and then set the route mark it worked fine.
Thanks Paul _______________________________________________ Public mailing list Public@talk.mikrotik.com.au http://talk.mikrotik.com.au/mailman/listinfo/public_talk.mikrotik.c om.au
_______________________________________________ Public mailing list Public@talk.mikrotik.com.au http://talk.mikrotik.com.au/mailman/listinfo/public_talk.mikrotik.com .au