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

Prioritizing MagicJack/Voip. QoS?

Discussion in 'Tomato Firmware' started by TheGlow, Jul 4, 2014.

  1. TheGlow

    TheGlow Network Newbie Member

    Hey there, I've been having some issues lately with my MagicJack, which is a Voip item, being choppy.
    I was using a linksys E1000 with DDwrt and decided to change it up and got an Asus RT-N10P and put Tomato on it.
    Brief background is I'm familiar enough with PC's doing troubleshooting, physical construction.
    Handy with a soldering iron, have done xbox mods, etc.
    I've studied Network+ but never got around to finishing it because it seems mostly archaic.
    Recently I've decided to take a stab at CCNA, and have started reading that.
    I like how tomato seems to be more on that professional level.

    I am probably thinking about this all wrong, but I was assuming I could take a MAC, like for the magicjack and set it as some kind of highest access and case closed.
    I tried playing with QoS but it looks like that lowered all my speeds, whether the magic jack was on or not.
    What do I need to research and read up on to get this working?

    I felt proud enough when the router refused to get a WAN IP, and I had to figure out the VLANs, br0 and WAN settings were off.

    Where can I read more about using VLANS, bro and eth1?

    Also I have inlaws staying with me, and 1 I can't stand. I liked how the Asus default firmware had a restriction setup with a grid I could just click and make a checker pattern of blocked times. It seems the best here is setup Access Restriction, everyday, random time like 10am to 11:15am, Applies to, MAC address, and create a few more with different times.
    Is there some better way?
    How efficient is bandwidth limiter? Or can it be used to troll people?
     
  2. Porter

    Porter LI Guru Member

    What gets my immediate attention is you mentioning that your router couldn't get a WAN IP. If you had to change the vlans it might be possibly that QoS doesn't really work anymore because the device identifiers QoS works with are hardcoded into the UI. Therefore I would like you to explain a bit more about your internet setup. Which technology are you using: xDSL, cable, satellite? How did you configure it the first time when it didn't work (are you using PPPoE?)? What did you change after that specifically?

    The second step would be to post some screenshots of QoS/Basic Settings and QoS/Classification so that we can check whether you added the right filters and if there are other errors in your config.

    There should be some hints about vlans in the common tomato topics thread (it's a sticky thread).

    QoS and the bandwidth limiter cannot be used at the same time. Please keep this in mind.
     
  3. TheGlow

    TheGlow Network Newbie Member

    Sorry, I guess I came out at too many different angles.
    Before I even tried playing with QoS, I couldn't get a WAN Ip.
    I have Time Warner cable so just dhcp by default has been fine.
    I have a Linksys WRT120N, E1000 and a friend lent me a Netgear WNDR3700.
    And now I picked up this Asus RT-N10P to play with tomato. All the others, stock, or DDWRT grabbed the Wan IP by default.
    It looks like Tomato picks up Port 1 as the WAN port, and 2,3,4,Wan are 1,2,3,4 for LAN.
    http://i.imgur.com/kplu4Lj.jpg
    So I was able to rearrange that and hop right on.

    What initially drove me to play with QoS was I had people reporting my MagicJack audio was all choppy. It's their end, so I figured it was my upload and thought to play with QoS.
    http://i.imgur.com/IC1bLKg.jpg
    I put some speedtest results. I have a ticket open with TimeWarner for the horrible performance. I ran some pings to 3 diff ips for 11 hours and averaged 7% time outs and my upload turns to trash sometimes. Also I had 1 wan IP for the last 2 years and now it's constantly changing, so something is up.
    But I thought to use this time to learn a bit more.
    I see its recommended to use 15-30% of your maximum as per QoS tutorial, but at default settings I noticed it capped everything else.
    So am I looking at this wrong? I thought QoS kicked in as bandwidth became more saturated.
    If nothing important is open, some tablets streaming youtube/netflixl, once the MagicJack is utilized, the MagicJack would get priority.
    And/or is there a way to limit bandwidth speeds by MAC? If I have 25mbps down, give specific MACS only 5mbps?

    Also it seems I can use virtual wireless to set up guest/limited SSID networks with some other restrictions.
     
  4. remlei

    remlei Networkin' Nut Member

    Did you try looking up on Bandwidth Limiter?
     
  5. Porter

    Porter LI Guru Member

    Ok, let's leave those interface problems aside for a moment.

    So what you are saying is that you didn't have problems with all the other routers which didn't run Tomato but now you have problems, the audio is choppy and you opened a support ticket with Time Warner because of that? Just asking to clearify...

    What do you mean by "it capped everything else"? What is you highest bandwidth without QoS. How much of your maximum bandwidth did you deduce? What's your highest speed now?

    Please post a screenshot of QoS/Classification with your MagickJack-filter.

    Let's leave the guest network out of our discussion for now because I don't know how shibby implemented it. Prioritizing a device by its MAC address should be doable.
     
  6. Monk E. Boy

    Monk E. Boy Network Guru Member

    If your performance went way down you probably didn't adjust the QoS settings to match your internet connection. There's two pages for configuring QoS on Tomato, one where you configure the internet connection speeds, the classes of traffic, and the percentage of your bandwidth those classes will have available, and the other page is where you actually define which traffic gets assigned to which class. You will need to adjust settings on both pages to match what you want to accomplish.

    The 10P is a fairly limited router, especially for wireless clients (due to its single antenna design). It should be capable of handling wired clients with QoS enabled up to around a 40Mb connection (or thereabouts). Internally it's basically the same as an N12B1/C1/D1, they just lopped off one of the antennas, which is why it's got roughly the same capabilities for wired clients but wireless clients suffer.

    You should probably focus on one problem at a time to avoid confusing details between the two. Either electronically strangle your in-laws then fix MagicJack, or fix MagicJack then screw with them.

    You probably could efficiently strangle their connection via QoS without using access restrictions, provided you don't mind having them affected 24/7. So understanding the MagicJack fix could help you deter them from unwanted activities later.
     
  7. TheGlow

    TheGlow Network Newbie Member

    Again, sorry, I hop around all over

    Time Warner turned to crap, before any router involvement. I'm waiting to hear back from them. I found an app that will repeatedly ping several locations and over 11 hours, overnight idle, it time out 7%. Almost always all going out at the same time. This is was investigated as I noticed some sites the dns resolution would take forever and then some people complaining about my phone sounding bad.

    As for QoS, yes, it was set to default which is how I realized it capped everything else. I get about 21.66mbps down, 2.24-2.28 down. When I looked at the guide on here for QoS, it said use -15-30% of bandwidth. Won't I be losing 15-30% of my bandwidth permanently? Or am I missing something that more like when 70-85% of bandwidth is utilized, then QoS kicks in and does it's thing.
    http://i.imgur.com/4lEc3TE.jpg

    I don't mind so much the wireless limitations. The router was on sale for $20 and theres a $10 rebate. More like an extra if needed and just playing around with different firmwares and familiarizing myself more with deeper networking features.
    I plan on moving within the next 2 months to my own house and want to try and run cat6 myself and put in data jacks. Its a small place, so I wouldn't be surprised if 1 wap can handle it, if not then 2 should be fine.

    In-laws can wait. Restrictions via MAC is fine enough for me for now. But I'd like to understand QoS a little more for those times when I want the MagicJack to be working well and then prioritizing Xbox360 for gaming and what not.
     
  8. Monk E. Boy

    Monk E. Boy Network Guru Member

    I got my RT-N10P for $10 as well and for the money it's pretty good, it's just I wouldn't trust its wireless performance enough to, say, open a ticket with my ISP over bad performance. If I was cabled up and the performance was still horrible, then I'd certainly be yelling at them.

    Whatever you set the bandwidth to in QoS is the maximum amount you'll get through the router. You can't set it to exactly the amount you have because ISPs are bastards and frequently drop you down to under your maximum amount, at which point the router is constantly running out of RAM and you get even worse performance than if QoS wasn't enabled. The point about QoS is that, with it enabled, you'll better performance with a lot of activity using the connection than with QoS disabled, even with the connection throttled down. The activity you care about should get through the router faster due to being prioritized higher than traffic you don't care as much about. For large file transfers it can be slightly slower, certainly, but under heavy load conditions you'll find QoS allows you to browse web sites like this one just fine while the lower priority tasks (e.g. P2P) come through at a slower rate, instead of all connections - web, P2P, everything - timing out due to the connection being saturated.

    There is a getting started thread in the root of this forum about QoS, some of the information is outdated but much of it still applies.
     
  9. FattysGoneWild

    FattysGoneWild LI Guru Member

    I don't know about QoS and really fast internet connections. I guess its a case by case bases. But, I have never needed it. I have a 100mb/5mb cable connection with multiple devices and never hear a peep from anyone. Using the net, streaming, phone, playing games etc at the same time. Since we are talking about the phone here. I have Ooma myself and it uses so little bandwidth. And I even have the high definition codec enabled by Ooma. Calls in and out use the G711 codec 24/7. You have to ask Ooma to turn it on if you want it permanent. Instead of using *98 every time.
     
  10. Porter

    Porter LI Guru Member

    DNS resolution can take forever if the devices are misconfigured as I just learned with a Windows 7 PC recently. But right now I can't tell you if 7% is actually high packet loss or not. I'd say it's a bit much and that could certainly be the reason for difficult DNS resolution.

    How much bandwidth you will be loosing mainly depends on the technology you use. If you have a cable connection you don't need 15-30% safety margin. If you use ADSL on the other hand, you probably will have to use a higher margin because of protocol overhead. That's what this extra setting is for on the same page: "Settings for DSL only". If set correctly, this setting let's the router calculate the exact amount of overhead, thereby enabling you to set a much smaller safety margin. But keep in mind that the bandwidth of you connection may vary throughout the day and if your safety margin is too small, QoS will be almost useless no matter what. Which value you need to set is rather difficult to determine. Just try to experiment with the settings or google for it. Maye somebody already found out.

    I looked at your screenshot and this is what I recommend:
    I don't know why the Media class gets so little bandwidth. If this is intentional, then it's fine.

    QoS on Tomato is usally just enabling it, entering the right bandwidth and adding some filters for any special traffic you have in your network. Just post a screenshot of the Classification page when you added the filters for your VoIP and gaming.
     
  11. cloneman

    cloneman Networkin' Nut Member

    Indeed, fast connections rarely have VoIP problems , even without QoS. You could still benefit from upstream-only QoS, which is available from tomato RAF. You could still break VoIP if try really hard though - mutliple users seeding torrents.
     

Share This Page