Getting started with QOS

Discussion in 'Tomato Firmware' started by fastpakr, Feb 19, 2007.

  1. fastpakr

    fastpakr Network Guru Member

    I've got three WHR-HP-G54's configured with Tomato 1.04. One is an AP, the other two are in client bridge mode. Everything seems to work well, so I've moved on to the next test. An Avaya 4612 IP phone is now connected on the far end of one bridge link. The phone seems to work well, but I wanted to enable some QOS controls to ensure that voice always had priority over file transfers or anything else that could be run across the link. Initially I assumed that I'd be able to see the port the voice traffic was running across by looking at the QOS connections distribution screen. However, I don't see any traffic running to/from the IP address of the phone there. I also don't see anything on the Device List page of the AP or the client bridge device that references the IP or MAC of the adapter in the phone. Any suggestions on how to proceed? I can go ahead and enable a priority for the MAC, but I don't know if it would even be effective if the Buffalo devices don't show anything regarding it within the web pages.
  2. fastpakr

    fastpakr Network Guru Member

    I added a rule on the client bridge to set the MAC of the phone to highest priority, and set traffic To/From the IP of the phone to highest on both the AP and the client bridge. I still see all connections as 'unclassified' on the View Graphs screen. The only way I was able to get the MAC/IP of the phone to populate into the device list was to use the router's utility to ping it.

    Any ideas on why it's not classifying the connections?
  3. fastpakr

    fastpakr Network Guru Member

    I've tried the Script Generator utility on this as well. Since the goal is to make sure the phone still works if the link speed drops as low as 1Mb/sec, I set 500kb/sec as the max up and down speeds, and then put the IP of the phone with a 150kbit guaranteed up and down, and separately allocated 25k max to a laptop also at the end of the wireless link. As soon as I started pushing a large file to the laptop, ping times to the phone went through the roof (and actually started dropping packets, something the laptop didn't seem to be doing). Ideas?
  4. fastpakr

    fastpakr Network Guru Member

    New problem... I wanted to try using the the QOS settings with the remote device functioning as a router, with everything inside it on a different subnet. To get this to work, I had to change the Mode setting under Advanced/Routing to Router. This works great, except for the fact that EVERY time the router reboots it resets to Gateway, blocking traffic in and out. Any ideas on what's causing this and how to get around it?
  5. digitalgeek

    digitalgeek Network Guru Member

    You need to set the QOS for your VOIP on your gateway, not the client bridge. the bridge acts as a switch with a wireless connection, any devices on these "switches" appear to be wired directly to the gateway.

    To achieve a better through put on the voip device I would recommend connecting it directly to the gateway (if possible)
  6. fastpakr

    fastpakr Network Guru Member

    I'm just trying to set QOS on the internal network. The device is an Avaya phone that's handling calls within the subnet, not like a ViaTalk/Vonage/Skype, etc device where the issue is throughput to the ISP. I want to guarantee throughput across the wireless bridge if users start transferring large files, etc... All of my tests have been calls within the subnet, i.e. to another user here. If a file is transferred between a pc in the bridged segment and the rest of the LAN while a call is in place, it steps on the voice traffic. That's what I'm trying to use QOS for.

    Does that help?
  7. GeeTek

    GeeTek Guest

    When you say you are in "Client Bridge Mode" do you mean the menu option "Wireless Client" or "Wireless Ethernet Bridge" ? The 2 modes are very different. "Wireless client" will do NAT and should allow for QOS to work. "Wireless Ethernet Bridge" will not do NAT and will probably not do QOS. When you do have QOS functional, program the rule to give the phone ALL of your bandwidth, not just the amount you think it should have. This will give the phone maximum possible priority. The phone will consume only what it needs, and it will make it much easier to set other traffic to a lower priority. The idea of transparent (non-routed) QOS is fascinating, and is something I have also been wanting to accomplish. I have seen the router/gateway modes in the settings, and have always wondered what they did and why they were there. I'll see what I can come up with !
  8. fastpakr

    fastpakr Network Guru Member

    Sorry, wireless ethernet bridge. Client Bridge is the DD-WRT term for the same thing. I was hoping to keep all of this on the same subnet, but will adapt if it's the only way.
  9. fastpakr

    fastpakr Network Guru Member

    I made a post on HyperWRT here. Hopefully the guy that wrote the script generator can come up with a way to apply it to what I'm doing.
  10. tunasashimi

    tunasashimi LI Guru Member

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice