
You should mark the incoming and outgoing traffic separately too (interactive_in, interactive_out, synacks_in, synacks_out, etc). queue tree add name="voip_out" parent=global packet-mark=VOIP_OUT queue=pcq-upload-default priority=1 limit-at=120k max-limit=30M queue tree add name="voip_in" parent=global packet-mark=VOIP_IN queue=pcq-download-default priority=1 limit-at=120k max-limit=100M Then add queues for voip traffic under the global queue and set guaranteed speed. I would definitely mark the packets before routing decision so you should set your routing mark rules on the prerouting and not the forward chain.

So, how should I configure the Queue Tree? I'd like to have the same QoS as I had with FireQOS but what's really important is the VoIP part. I guess creating a queue for parent ether2-master won't work as packets won't be marked on that level (right?), since all ether2-master packets are VLAN-tagged. The single physical port I'm using is ether2-master: I see there are predefined (parent) queues for each interface but the problem is that I am using VLAN to provide WAN access to three completely independent subnets. I think I need to set up Queue Trees on the Mikrotik and create a main queue for the available up/down speeds and divide by some priorities.Ĭurrently I don't know where to start as I can't see a way to create two distinct queues for incoming and for outgoing traffic (as I have an asymmetrical bandwidth). Meanwhile I tried to set up packet marks accordingly, in RouterOS: Interface $DEVICE world-out output rate $OUTPUT_SPEED Interface $DEVICE world-in input rate $INPUT_SPEED I had successfully prioritized traffic before with FireQOS using a custom Linux box (that could not handle more than 20Mbit, though) using the following config: DEVICE=ppp0 I want to prioritize traffic mainly to avoid issues with VoIP calls (via Twilio).

Recently I bought a Miktotik hEX (RouterOS 6, Level 4), used as the main router for a 100MBit down / 30MBit up fiber connection (speed tests show actually 110/33 as my provider adds a 10% margin).

I'm aware that this is a common question but I've invested two days now to learn this and still could not find a clear explanation.
