I am finally to the point where queueing individual users is no longer the only solution necessary. I would like to start prioritizing traffic from my main router. I am using mikrotik as my main router and all traffic is going through it. I would like traffic priority to go in the following order: voip, http, other, p2p; and have created these rules:
(i.e. marking the packets belonging to the voip connections, as you did further down with the other protocols).
If you can identify all VoIP traffic just by your source address, depends on your setup - but you’ll know what you do.
Apart from that things look good for starters.
You could save one mangle rule, though: To mark the “rest”, I’d say there’s no need to connection-mark first - just mark ALL remaining packets directly.
So, replace rules 6 and 7 with just one rule:
Is this all I would need or is there other configurations I need elsewhere that to make the traffic prioritized. I tried to testing by making icmp priority 1, voip 2, etc… And loaded my line to full and then tried to ping stuff and was still getting the same high numbers as if I had no prioritizing at all?
ok I see the ip, now I have four wans, I want to make all VOIP to go through one of my wans, so i need to make a mark routing where all connections to that ip uses that wan? I the voip server ip the dst or src address?
thanks for the info I tried to do this but I see no traffic, also I use vonage and I see a couple of ip that show up. What I want to do for my clients, is to setup my mt to detect voip and to have that traffic use only one single wan for all voip. I have little bandwidth here in my country and I have four 512k for 40 users, now most of them got vonage!!! hate it and they complain about the quality of the voice, I know this is bamdwidth related and thats why I want to setup one wan just for voip. thats why I tried with ports 5060-5061 and 10000-20000, i read somewhere that does r the ports that vonage uses. but i could not get it to work
I tried to do some QoS with the p2p control. It does not work!! At least for Ares, I setup a simple queue telling it to give me a 64K limit on dowloads and uploads, well Ares just laughs at the rule. Has anyone have this working for Ares? I want to have the whole network set to a 128k upload and download.
I went into a simple queue, named it P2P, set the target ip to my computers ip and set the target upload and target download to 128k, went to Advance tab and set the P2P=all-p2p
IT DOES NOT WORK!!
So if this doesnt work, there is no QoS for p2p in MT, the only thing that works for me is to drop all p2p, than Ares cant connect at all.
For some reason the QoS code that is on this thread does not work for me. I copy and paste the firewall code for Http, there is two firewall rules, one connection-mark the other packet-mark, if I do it exactly like is on the thread, I wont be able to surf the Internet. So I played around and noticed that if I select passthrough on the mark-packet rule than I am able to surf. I looked at other examples and all of them have the passthrough unchecked, but if I do that I cant surf.