I am trying to mark all packets which are coming in and going out from my 2 PC (192.168.1.1 & 192.168.1.2) in my mikrotik router. The purpose of marking those packets is to set priority and control bandwidth of these 2 computers later.
In order to do that, first I marked the source & destination connections of my 2 PC as "C1" & "C2". And then I marked the packets as "P1" & "P2" based on the connection marks. Below is my configuration for marking the packets.
The question is, am I doing it correctly ? Any comment/suggestion is appreciated....
[admin@Arnab MikroTik Router] /ip firewall mangle> print Flags: X - disabled, I - invalid, D - dynamic 0 ;;; Connection Mark chain=prerouting action=mark-connection new-connection-mark=C1 passthrough=yes src-address=192.168.1.1 log=no log-prefix="" 1 chain=prerouting action=mark-connection new-connection-mark=C1 passthrough=yes dst-address=192.168.1.1 log=no log-prefix="" 2 chain=prerouting action=mark-connection new-connection-mark=C2 passthrough=yes src-address=192.168.1.2 log=no log-prefix="" 3 chain=prerouting action=mark-connection new-connection-mark=C2 passthrough=yes dst-address=192.168.1.2 log=no log-prefix="" 4 ;;; Packet Mark chain=prerouting action=mark-packet new-packet-mark=P1 passthrough=yes connection-mark=C1 log=no log-prefix="" 5 chain=prerouting action=mark-packet new-packet-mark=P2 passthrough=yes connection-mark=C2 log=no log-prefix="" [admin@Arnab MikroTik Router] /ip firewall mangle>