I am running the latest stable RouterOS and I’m having some issues getting QOS to work properly. I am mangling the packets and I can see that the VOIP is getting detected but the other mangle rule for all traffic doesn’t seem to catch anything. I’ve google different ways to do this to death and at this point I am stumped. Here are my rules.
Use the prerouting chain instead of the forward chain.
It seems like forward should work, but I’ve had strange things like yours just work better when using prerouting.
Your rules look like they would work.
You might try it like this if switching them to prerouting doesn’t work:
Tried both of your suggestions to no avail. I’m not even sure that VOIP is being mangled at this point but some sort of traffic is going through the mangle rule because the counters are going up. I had this configuration working fine on the RB850Gx2. Now we have switched to the RB3011UiAS-RM and I can’t manage to get it to work to save my life. Any other suggestions?
If you have a fasttrack-connection rule in your forward chain, try disabling that. It expedites the packets through the router without checking queues and so forth.
Your maximum throughput is going to drop significantly with fasttrack disabled, as the CPU is going to get much more involved in the forwarding process, but that’s a sacrifice you have to make if you want to use queues. Just keep an eye on the CPU % and as long as it stays below 75% at your peak bandwidth, you should be okay.