1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help Setting up QOS for VOIP

Discussion in 'Tomato Firmware' started by pamulli, Jun 13, 2007.

  1. pamulli

    pamulli LI Guru Member

    Does anyone know of any good resources to help with setting up QOS to make sure my Voicepulse calls get top priority? I'm setting up Tomoato 1.07 on my Linksys WRT54G V2 for the first time and I'm not sure about the QOS settings.

    Thanks,
     
  2. zhenya

    zhenya LI Guru Member

    While I have a similar thread below asking for more specific details of how Tomato's qos works, I think I understand it well enough to get you on the right track, and I've been using Tomato with voip (recently switched from Vonage to VoicePulse) for 6 months or so with great success.

    The first step is to go to the 'classification' menu and create a rule from the mac address of your ATA. Voip traffic is carried over UDP, and you should set this rule to the Highest or High class, and move it to the top of the list. Now go to the basic settings. Here, under Outbound Rate, Max Bandwidth, you need to enter ~90% of your average upload speed to your isp. Measure this, preferably with no other load on your network via several different speed test sites, at several different times of day, unless you have a guaranteed service level. For example, I have a 1Mb up connection, and I enter 850kbps. If you enter too large a number here, your router thinks it has more capacity than it really does, and under high load, would be sending data to your modem faster than it could forward it to your isp, rendering your qos useless.

    Now for the percentages, or limits. As I understand it, the first column dictates what percentage of a completely saturated link that class will have access to, guaranteeing at least this much bandwidth to that class of traffic. The sum of this column should total 100%.

    The second column is the maximum portion of your upstream bandwidth that class has access to, if the connection is idle. Choosing a value of less than 100% will limit that class of traffic at all times. (ie. if your default class was Medium, and you set that class at 50% max, you would not be able to download at more than 1/2 of your entered Max Bandwidth).

    I classify my voip traffic as highest, and give it 20% of the total bandwidth, and access to 100% of an idle connection. I split the rest of my classes among the remaining 80%, and limit all other classes to 90% of idle, as this guarantees that no process will ever hog 100% of the line, and hence interfere with the first few seconds of a call, as qos does not happen instantaneously.

    This method has worked great for me, although if anyone spots any misunderstandings on my part in my explanation, please speak up! :)
     
  3. pamulli

    pamulli LI Guru Member

    Thanks a lot for the detailed response. I'll give this a try once I get home.

    One last question for now....How do I change the default GUI username from admin to something else? I found where to change the password, but I'd prefer to change the username as well.

    Thanks again.
     

Share This Page