Hi
I am trying to figure out QoS for a PBX and some other traffic and working from the script and queue setup based on this link by pcunite http://forum.mikrotik.com/t/using-routeros-to-qos-your-network-2020-edition/66683/1
I am trying to mark UDP packets coming from a PBX using this code;
# Mark all UDP traffic for an IP-PBX.
add chain=forward action=mark-connection protocol=udp src-address=192.168.20.2 connection-state=new new-connection-mark=“VOIP” comment=“IP-PBX”
add chain=forward action=mark-packet passthrough=no connection-mark=“VOIP” new-packet-mark=“VOIP”
add chain=forward action=mark-connection protocol=udp dst-address=192.168.20.2 connection-state=new new-connection-mark=“VOIP”
add chain=forward action=mark-packet passthrough=no connection-mark=“VOIP” new-packet-mark=“VOIP”
which is working sometimes, but I am also seeing a lot of the 192.168.20.2 UDP traffic showing up marked by this code;
# Mark all UDP traffic. Mark different UDP streams if you want more granularity.
add chain=prerouting action=mark-connection protocol=udp connection-state=new new-connection-mark=“UDP” comment=“UDP”
add chain=prerouting action=mark-packet passthrough=no connection-mark=“UDP” new-packet-mark=“UDP”
I am seeing this connection mark flash by in /ip firewall connections and cant find a way to log it to a file, or work out exactly what is getting marked when. Is there a better way to log the traffic being marked and find out which mangle rule it is passing through? packet sniffer doenst show the connection mark.
the above issue I guess is whether 192.168.20.2 traffic arrives in the mangle-forward or mangle-prerouting (I have been watching the various videos on this stuff but its still blowing my mind a bit trying to really grasp it)
I really need a way to check if the traffic is hitting the right queues and so on