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

Did I configure QoS VoIP correctly?

Discussion in 'Tomato Firmware' started by mvangogh, Dec 17, 2007.

  1. mvangogh

    mvangogh LI Guru Member

    My upload speed is 170 kbps and my voip provider said 130 kbps is minimum for quality service, so I used the following settings to configure voip qos on Tomato firmware (which I really like btw). Did I do it correctly, or would you make any changes?

  2. JensG

    JensG Network Guru Member

    It looks OK, except that I would uncheck "Prioritize ACK".
  3. paped

    paped LI Guru Member

    Look OK as above uncheck "Prioritise Ack" and I would maybe look at dropping the DNS from Highest to high or medium...

    Also what voip codec are you using for 130K requirement G711 or G729a? Just thinking that 130k seems very high when G711 is around 80k (64k voice payload + IP headers) and G729a is a compressed around 24K (8K voice payload + IP headers) but with slightly less quality then uncompressed G711.
  4. mvangogh

    mvangogh LI Guru Member

    I'm using broadvoice, but no idea what codec. Just going based on what they told me.

    I have another question - voip and torrents are working great together. I see on the chart how torrent on Lowest takes 96% until I pick up the phone and voip on Highest starts taking anywhere from 50-65% of the pie chart. As soon as I hang up, Highest almost dissappears and Lowest goes back to around 96%. My problem is with games. I was playing Team Fortress and noticed the performance was horrible. I shut down torrents and game play went back to normal. I brought up the charts again during game play and noticed Lowest is taking up all the bandwidth to play the game. This of course means to me that both torrents and games are set to Lowest and are competing. So, which attribute do I sent to Low or even Medium so that game play takes precedence over torrents?
  5. mvangogh

    mvangogh LI Guru Member

    ok, after some playing i've figured out what the problem is. under the classification settings, both Torrent and Team Fortress are using Bulk Traffic on Lowest. How do I create a new setting for Team Fortress to separate it from Bulk Traffic?
  6. paped

    paped LI Guru Member

    The way I do this is to set up everything xbox, PS2 etc in the dhcp page so they alway get the same reserved IP address. Then set up the reserved IP address with the correct QOS setting so everything from that device get X setting, or you could do it using the MAC address if you did not want to mess with dhcp of the games machine in the same way as your voip adaptor is configured in your original post above.
  7. mvangogh

    mvangogh LI Guru Member

    thanks for the suggestion, but I game on the same machine I torrent on.

    any other ideas?
  8. paped

    paped LI Guru Member

    Not sure how torrents work but presumably they use some sort of port range so you could still do what I suggested above but as you have the "strict rule order" ticked in the QOS screen above, if you could find the torrent ports put these in a separate bulk rule and place this above the generic machine rule on the QOS page. As the strict rule order would look at the bulk rule first torrents would be given the lower class based on the configured ports in this rule. However for any other ports on the machine this rule would be ignored and the following generic rule would be used based on IP or MAC address of the machine which could then give this traffic a higher class and hence greater priority.

Share This Page