Hello,
appologies in advance as I am but a novice trying to mess about with my home network, but I am stumped with queues and I am possibly misunderstanding the documentation on this. Searching for similar problems also did not lead to a resolution, possibly due to different models being used in those threads, different ways IPTV is transmitted or I am blind and not seeing something.
I wish to set up queues to make sure my IPTV always has priority over anything else on the network. I have a RB750Gr3 and I was told my ISP that I just need to put the STB on VLAN 6, which is what I did with a bridge (as I understood the MT7621 does not support the other method which is to set it up on the switch). This bit works fine
[admin@MikroTik] /interface> bridge print
Flags: X - disabled, R - running
0 R name="bridge-iptv" mtu=auto actual-mtu=1500 l2mtu=1592 arp=enabled arp-timeout=auto mac-address=48:8F:5A:58:CD:42 protocol-mode=rstp fast-forward=no igmp-snooping=no auto-mac=yes ageing-time=5m priority=0x8000 max-message-age=20s
forward-delay=15s transmit-hold-count=6 vlan-filtering=no dhcp-snooping=no
1 R ;;; defconf
name="bridge-main" mtu=auto actual-mtu=1500 l2mtu=1596 arp=enabled arp-timeout=auto mac-address=48:8F:5A:58:CD:3F protocol-mode=rstp fast-forward=no igmp-snooping=no auto-mac=no admin-mac=48:8F:5A:58:CD:3F ageing-time=5m priority=0x8000
max-message-age=20s forward-delay=15s transmit-hold-count=6 vlan-filtering=no dhcp-snooping=no
[admin@MikroTik] /interface> bridge port print
Flags: X - disabled, I - inactive, D - dynamic, H - hw-offload
# INTERFACE BRIDGE HW PVID PRIORITY PATH-COST INTERNAL-PATH-COST HORIZON
0 ;;; defconf
ether2 bridge-main yes 1 0x80 10 10 none
1 ;;; defconf
ether3 bridge-main yes 1 0x80 10 10 none
2 I ;;; defconf
ether4 bridge-main yes 1 0x80 10 10 none
3 ;;; defconf
ether5 bridge-iptv yes 1 0x80 10 10 none
4 vlan-iptv bridge-iptv 1 0x80 10 10 none
[admin@MikroTik] /interface> vlan print
Flags: X - disabled, R - running
# NAME MTU ARP VLAN-ID INTERFACE
0 R vlan-iptv 1500 enabled 6 ether1
In order to create queues I understood that I need to mark the packets, so I disabled fast track rule on the firewall and disabled it on the bridge (not sure if that was necessary since the firewall rule seems to allow mangle to pick up everything anyway). I then set up mangle rules like this:
3 chain=prerouting action=mark-packet new-packet-mark=main-packet passthrough=yes src-address=192.168.88.0/24 dst-address=192.168.88.0/24 log=no log-prefix=""
4 chain=prerouting action=mark-packet new-packet-mark=iptv-packet passthrough=yes in-interface=bridge-iptv log=no log-prefix=""
and I can see the traffic matches what I see on the interface. The problem is when I try to create queues. No matter how I change the settings, the queue shows no packets at all (I also tried a simple queue and just poiint it to ether5 and the iptv bridge for the target but that also does not show any traffic matching the queue)
[admin@MikroTik] /queue> tree print
Flags: X - disabled, I - invalid
0 name="iptv" parent=global packet-mark=iptv-packet limit-at=0 queue=default-small priority=1 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.01

Am I missing something or does this mean that with my configuration I have no way to prioritize this traffic over others?