From: Kilian Krause <kk@verfaction.de>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] QoS for VoIP
Date: Fri, 28 Nov 2003 18:05:27 +0000 [thread overview]
Message-ID: <marc-lartc-107004530917723@msgid-missing> (raw)
In-Reply-To: <marc-lartc-107000832316611@msgid-missing>
[-- Attachment #1: Type: text/plain, Size: 1642 bytes --]
Hi Craig,
> I would like to prioritise all VoIP traffic on a linux router. I am new
> to QoS, tc and TOS, to please be gentle.
>
> My logic works like this:
>
> 1) identify the VoIP packets
> 2) mark packets using iptables (with TOS?)
> 3) use tc to prioritise the marked packets.
>
> Is this logic correct? If not, where is it flawed?
it can work, VoIP for me is H323, for SIP i haven't checked yet what
their ports are..
> I understand that VoIP used the udp protocol and has packet sized less
> than 250 bytes. Is simply reducing the MTU on the interfaces good enough
> to give better thoughput, without the lag of larger packets trying to
> pass though?
Well, reducing MTU is most probably not a good idea, as you force more
packets benig sent even when you can keep the overhead to just 1 packet
with large payload. so i wouldn't do that..
VoIP (speaking of H323) is UDP traffic on random ports but can be
limited by using either GnomeMeeting or nmproxy
(http://www.cryogenic.net/nmproxy.html), thouch i haven't tried the
latter so far..
As of GnomeMeeting you can simply use a match for UDP ports 5000-5003
(on a direct connection)...
For OhPhone and OpenMCU etc. the ports may vary.. If you don't use H245
tunneling there's also some TCP ports involved (for GM 30000-30010).
Using a GateKeeper will also have another port-range.. but checking
either source, mailinglist or support info of these products will shed
some light where you'll be most lucky matching their packets..
> Are there any good HOWTOS?
None that i know of, sorry..
Good luck! ;)
--
Best regards,
Kilian
[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-11-28 18:05 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-28 8:12 [LARTC] QoS for VoIP Craig Main
2003-11-28 18:05 ` Kilian Krause [this message]
2007-09-27 2:31 ` Ming-Ching Tiew
2007-09-27 16:05 ` Santiago
2007-09-28 1:09 ` Ming-Ching Tiew
2007-09-28 2:45 ` Santiago
2007-09-28 14:07 ` Santiago
2007-10-01 1:00 ` Ming-Ching Tiew
-- strict thread matches above, loose matches on Subject: below --
2004-07-16 15:19 [LARTC] QoS for Voip Alessandro Ren
2004-07-16 15:53 ` Andreas Klauer
2004-07-16 16:54 ` Jason Boxman
2004-07-16 17:51 ` ibro tj
2004-07-16 18:38 ` Andreas Klauer
2004-07-19 12:45 ` Alessandro Ren
2004-07-19 13:19 ` Andreas Klauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-107004530917723@msgid-missing \
--to=kk@verfaction.de \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox