apologies for, perhaps, a really dummy question. What I want to achieve is a simple packet prioritization (and also bandwidth limitation) based on src IP.
I've typed following:
Code: Select all
/queue tree
add limit-at=8000k max-limit=8000k name=Queue1 parent=ether1-wan queue=default
add limit-at=8000k max-limit=8000k name=P2-Mining packet-mark=Mining parent=Queue1 priority=2 queue=default
add limit-at=7800k max-limit=7800k name=P3-AppleTV packet-mark=AppleTV parent=Queue1 priority=3 queue=default
add limit-at=5000k max-limit=5000k name=P4-untagged packet-mark=no-mark parent=Queue1 priority=4 queue=default
/ip firewall mangle
add action=mark-connection chain=postrouting src-address=192.168.0.34 new-connection-mark=Mining passthrough=no
add action=mark-connection chain=postrouting src-address=192.168.0.36 new-connection-mark=Mining passthrough=no
add action=mark-connection chain=postrouting src-address=192.168.0.20 new-connection-mark=AppleTV passthrough=no
add action=mark-packet chain=postrouting connection-mark=Mining new-packet-mark=Mining passthrough=no
add action=mark-packet chain=postrouting connection-mark=AppleTV new-packet-mark=AppleTV passthrough=no
Src IP is correct. Any ideas?
Thanks in advance!