Community discussions

MikroTik App
Freman
常客
常客
Topic Author
Posts: 76
加入: Thu Jul 01, 2004 8:49 am

VoIP Priority...

Mon Aug 08, 2005 3:31 am

I've got a handful of customers hooked up with PPPoE over wireless to my routers...

sort of like...

[Customer][C-Router][Radio] ------> [Radio][Mikrotik][Backbone]

I have no idea which flavour of voip they intend to run.... what is the best way of prioritizing voip?

I can't possibly rely on QOS flag because the routers they're using is to cheap for that...

I don't particularily care about prioritizing last mile (would be nice if it was availible so I can say "I've done my bit") but I need to prioritize the backbone...

PS: Using 2.8 mikrotik
Top
DirectWireless
Member Candidate
Member Candidate
Posts: 143
加入: Wed Oct 06, 2004 8:09 am

Mon Aug 08, 2005 10:07 am

Well, in general you could use mangle to get UDP port 5060 for the SIP, you could connection mark it, and then prioritize based on the conn. mark - that's what I do, except I use my source IP / dest IP and only prioritize my own VOIP services (not others ).

You could mark just SIP and prioritize the whole connection, if you're lucky the RTP and SIP will have the same destination IP. I don't do it that way, but you should be able to tell immediately if it's marking properly, you'll see that queue tree entry bps increase. If it goes up a little, you only got SIP, if it goes up a lot, you got the audio stream as well.

I know my VOIP over 802.11b to Mikrotik works great with queuing, I get about 2.3Mbps (actual speed) out of my connection using many downloads, I can max it out while talking on the phone and not lose a single bit of audio.
Top
gianluca
Member Candidate
Member Candidate
Posts: 258
加入: Sun Aug 08, 2004 11:00 pm
Location:Italy - Spain - USA

Sun Sep 11, 2005 10:28 pm

do you mangle the connection of the SIP and then the flow, or just the connection ?

I mangle the connection and then the flow of this connection, then putting in queue the flow, and sometimes we have problems....
Top
kjagus
常客
常客
Posts: 74
加入: 太阳2005年1月30日11:29点
Location:Poland

Tue Sep 13, 2005 9:55 pm

I ask another way: should I mark connections or packets? where is a difference in working? I mark only packets now and QoS system seems to be working. Am I wrong?
kj
Top
gianluca
Member Candidate
Member Candidate
Posts: 258
加入: Sun Aug 08, 2004 11:00 pm
Location:Italy - Spain - USA

Tue Sep 13, 2005 10:33 pm

what king of QoS do you mean? I dont know the difference between marking packets and connection only.
Top
kjagus
常客
常客
Posts: 74
加入: 太阳2005年1月30日11:29点
Location:Poland

Tue Sep 13, 2005 11:54 pm

in mangle you can mark packets, connections or routes. you can mark packets basing on specific rules (ports, protocols, addresses etc) or basing on connection mark - if you previously marked connection. there is example of such marking in manual. my question is - what is the difference between "direct" packet marking and marking packets basing on connection mark?
Top
gianluca
Member Candidate
Member Candidate
Posts: 258
加入: Sun Aug 08, 2004 11:00 pm
Location:Italy - Spain - USA

Wed Sep 14, 2005 1:03 am

thanks for the explaination but of course I already know what you say, I hav ethe same question, I see 3 different ways of mangling and it would be nice if someone would explain it to us:

1) mark directly the packets and then use this packet flow in the queue
2) mark connection and then mark the packets of this connection and use this packet flow on queue
3) mark connection and use the mark connection on queue

?
Top
sten
Forum Veteran
Forum Veteran
Posts: 919
加入: Tue Jun 01, 2004 12:10 pm

Re: VoIP Priority...

Wed Sep 14, 2005 11:28 am

I have no idea which flavour of voip they intend to run.... what is the best way of prioritizing voip?

I can't possibly rely on QOS flag because the routers they're using is to cheap for that...
First off, different voip solutions use different protocols/ports. So the task is close to impossible. Ask your customers what systems they use and base your QoS on that. QoS is best used where bandwidth is tight. If your backbone is 100mbit or more then why waste router resources?
Top
kjagus
常客
常客
Posts: 74
加入: 太阳2005年1月30日11:29点
Location:Poland

Wed Sep 14, 2005 9:11 pm

也许要创建公共QoS database, where every of us could publish known application mangle rules? (voip, games, etc). Or maybe such database already exist? It is hard to know all connection rules - together we can know more.
Top
dannyboy
Member Candidate
Member Candidate
Posts: 195
加入: Fri Sep 16, 2005 4:21 am
Location:Nicaragua/USA
Contact:

Wed Sep 28, 2005 6:49 am

Hello, I want to priotirized my VOIP Vonage, I know that they use port 5061 UDP and 10000-20000. If I want to mangle this ports, how would it look like? "/ip firewall mangle ??????????????" can you help me out?

thanks
Top

Who is online

Users browsing this forum:Ahrefs [Bot],Amazon [Bot],fetchinson,kapi2454,Yaleand 11 guests