I'm watching a TV site, let's call it tv.com for instance. When it's opened and at the same time some file is downloading, a video starts freezing. As far as I understand, TV traffic should be prioritized to avoid this.
I've added FWD DNS entry for TV domain, and it adds streaming IPs to address list, let's call it "TVaddresses". After that I've added 2 mangle rules. One marks connections based on "TVaddresses" list, another one marks packets of previously marked connections.
Next I've tried to change priority of marked packets to 1 in Mangle and also tried to add a queue tree that also changes priority of marked packets to 1. But none of these settings worked, TV freezes as before.
I never worked with packets priority before, so probably something is wrong in my attempts. Can someone help?
/ip dns static
add address-list=TVaddresses disabled=no name=tv.com ttl=1d type=FWD
/ip firewall mangle
add action=mark-connection chain=prerouting new-connection-mark=HighPriority \
src-address-list=TVaddresses
add action=mark-packet chain=prerouting connection-mark=HighPriority new-packet-mark=\
HighPriority
add action=set-priority chain=prerouting new-priority=1 packet-mark=HighPriority
/queue tree
add name=queue1 packet-mark=HighPriority parent=global priority=1 queue=ethernet-default