We have a 6mbps gateway Internet connection right now soon to update to 9mbps. Anyway, at peak times my Packet8 phone cuts out. Is there anyway with Mikrotik to automtically prioritize higher QOS traffic at the gateway? The only way that comes to mind to me is to limit all traffic but high QOS traffic to 95% of the bandwidth and reserve 5% for VOIP and higher QOS. This seems like a waste when there are no calls occurring.
Since, at this time I have 6mbps, would I create one 6mbps queue then create other 6mbps queues that call this parent with various prioritys? Is priority 1 the highest or lowest priority?
SIP marking is/will be easier in 3.0 version. SIP helper is included to NAT traversal helpers, as well mangle contains ‘connection-type=sip’.
I have no idea about skype.
Matt,
1 is highest priority, you can create queue with priority enabled, but without rate-limit configuration.
Using queue tree, you can create parent with 6 Mbps and two child queues one with priority=1 for VoIP and another with priority=8 (>1) for another traffic, that should be mangled.
I want to create a generic rule on all our high sites to prioritise SIP traffic. All normal traffic should come second and all SIP traffic should come highest priority. Please could you give me some ideas how to do this.
NetworkPro, I joined this forum Jun 01 2004 and since then I have been reading a lot.
I have also been building up a company that is running fairly successfully and since I am running the company a lot of my time is spent managing the company, not reading technical stuff.
That’s why I came to this forum. I really don’t have the time to read every single bit of documentation to get a simple QoS design.
I’m sure many people are in the same situation as I am. They have a network with high sites and a data feed and clients and they want to prioritise one or two protocols.
I use forums because I don’t have the time to always RTFM.
If you have an answer for me, please give me something.
If not then I prefer to hear from someone in the community who has.
What I am after is something like this:
Create mangle, that marks VoIP traffic.
Create queue entry, that has priority=1 configured.
I need to know:
(1) Does this need to be created on every high site, or should it just be created in the data centre.
(2) What is the actual rule? e.g.:
/ip firewall mangle mark protocol=sip name=sip_marking
/ip firewall mangle mark protocol=!sip name=all_other_traffic
/queue simple add name=sip_queue priority=1
/queue simple add name=all_other_traffic priority=8
[bind queue to some queueing discipline]
(3) Is is possible to create the rule generically, without specifying bandwidth sizes. I don’t want to tie the rule to a specific bandwidth size, I merely want it prioritised.
[/quote]
If I find a solution, I will be sure to share it. That’s why I came to this forum. Not to go off into the corner and read some manuals like a good old nerd but to try and find information that is easily shared.
There are a lot of problems associated with QoS. It’s a science of it’s own. But I guess we can try something and see if it will work, if you are lucky.
Usually QoS must be implemented only on the main Internet Gateway, where hopefully, you know your exact bandwidth and hopefully, it is stable and not varying due to 1% loss or other reasons.
Can you please draw a simple diagram in paint, showing VoIP traffic’s path over the congested interface you want to manage? So that I can have an idea where QoS needs to be set up.
but i don’t see any bytes or packets counter increased. and i am sure that there are a lot of SIP/H323 traffic are forwarded by my router.
any idea?
PS:
1- Which one is better between connection-type=sip/h323 and L7 protocol(sip/h323)?
2- Does L7 protocol and connection-type=sip/h323 100% work? does anyone test them successfully?
I would first mark by port, if we know the port for sure, like port 80 is for sure http 99.99% of the time. Then maybe I would test to mark by connection-type. And the last marking will be by L7. All would be passthrough=no to not mark them three times. I do not trust either of the three to recognize and mark it all. And by the way, (most of the) L7 is not usable for routing marks, just for QoS.
i have created the rule as below:
chain=prerouting action=passthrough connection-type=sip
chain=prerouting action=passthrough connection-type=h323
but i don't see any bytes or packets counter increased. and i am sure that there are a lot of SIP/H323 traffic are forwarded by my router.
any idea?