Bandwidth Management for Home Networks

Ranked #63 in Computers & Electronics, #936 overall

Sharing Your Internet Connection

If you are sharing your internet connection or plan to, you will probably run into some problems. There's always this annoying roommate who uses up all bandwidth to download porn using p2p, or a neighbor who browses streaming video sites like Youtube, causing you to lag out in your favorite game or making you unable to chat properly in Skype.

The best solution to this kind of problems is to use a router which is capable of QoS (Quality of Service). Basically, this kind of router controls your traffic (it's called "traffic shaping"), prioritizing certain types of it, and making sure everyone gets a fair share of bandwidth. Of course if you are the administrator, you can make your share a bigger one ;)

Find out how you can set up a home network without blowing your budget.

Picking the Best Router For Your Network

The first step is picking a router with some good QoS capabilities. I highly recommend WRT54GL from Linksys. You can install third party Linux-based firmware on it, which provides features and flexibility that only expensive, commercial devices normally offer. Some ASUS products are good as well. Regardless of which router you get, for the best QoS capabilities you should use custom firmware (read on below).

Cisco-Linksys WRT54GL Wireless-G Broadband Router

Amazon Price: $54.95 (as of 02/13/2012)Buy Now

Powerful little device with wireless data links and a 4-port 100 mbps Ethernet switch. Perfect for your home networking needs. You can also get it at Newegg.

Choosing Best Firmware for a WRT54GL Router

While QoS on default Linksys firmware works pretty well, it lacks important features and flexibility. What's more, according to my personal experience using p2p programs (such as BitTorrent clients) will make your web pages time out because default firmware sets a very low connection limit. Installing any third party firmware from this list fixes the problem. Read more about different WRT54GL router firmware.
Tomato
Highly recommended firmware which takes QoS configuration to the next level. When it comes to setting up traffic priorities, Tomato can do almost anything. Great and easy-to-use web interface. Has a built-in bandwidth monitor.
DD-WRT
Popular firmware that is based on OpenWRT kernel rather than Linksys software. Has many features, especially useful for wireless users. From my experience, it's QoS doesn't work that well though.

DD-WRT also runs on many other routers besides WRT54GL.
OpenWRT
A firmware meant for advanced users, it is said to have one of the best QoS scripts around. It used to have only a command shell, but now some people created X-WRT, a web interface project for OpenWRT.

Configuring the QoS Ruleset of Your Router

Tomato QoS settingsOnce you have everything you need for your home network, there's only the configuration left to do. Creating and perfecting your QoS ruleset can take you a few minutes to several days, depending on your experience, needs, and the firmware you chose. However a good setup will save you lots of time and trouble in the future.

For starters you'll want to give higher priority to programs that suffer from insufficient bandwidth: be it games, voice communication or simple web browsing. Give the lowest priority to file downloads and p2p programs. Most custom firmware (such as Tomato) has L7 filters which allow you to simply choose applications to prioritize from a drop-down list. Alternatively, you can prioritize traffic coming from a specific port or IP adress. For example, to prioritize web browsing you will want to give higher priority to port 80 (http).

The exact process of setting up the QoS rules depends on the router and firmware you're using. You should be able to find this information on your router's manual (if you're using the default firmware) or on the homepage of the firmware maker (if you're using a custom one).

One important tip to remember is to always set the upload speed in your QoS settings to 80% - 90% of the maximum your line is capable of. This is so your router can prioritize outgoing traffic properly. Never set it to 100% of your actual upload speed.

That's it - enjoy! If you still get lag, tweak your settings by further reducing priority of bandwidth-hungry aplications until you don't have to worry about slow internet . It's all about how you divide and prioritize the web traffic! Your regular web browsing, for example, doesn't need much bandwidth but requires a high priority; and it's the vice versa for big file downloads.

Check the homepages of the according firmware for more information, or visit the Linksys forums for helpful tips and discussions.

Comments

Comments from happy people whom I saved from bandwidth clogging evil flatmates go here:

submit
  • Reply
    snape21 Jan 26, 2012 @ 6:24 pm | delete
    the contension on the line is another factor, i switched from sky to plusnet a while back and instantly got 3meg difference within the first day of switching, after a few days of testing i finally reached 16Meg on adsl2+ further increased to 17 using an extra filter.

    Sky contension in my area was 20/50, plus nets 3/50 :)
  • Reply
    kitty222 Jan 23, 2012 @ 1:22 pm | delete
    I'd be real careful about sharing my wireless Internet because if somebody is uploading and downloading porn, you're the one who can get nailed for it. I've heard horror stories and even some of the encrypted security settings on a wireless router are easy to hack. But the QoS thing is a good idea in case you decide it's worth the risk.
  • Reply
    bharat Jan 2, 2012 @ 3:44 am | delete
    how many computer i can control bandwith i have 10 pc its can manage more then 10 pc
  • Reply
    Chadrew Jan 16, 2012 @ 10:01 pm | delete
    Well, this router has only 4 wired ports. You could use a switch before, but then again, WRT54GL is somewhat outdated now and might not be powerful enough for 10 PCs.
  • Reply
    yourstrategic Nov 30, 2011 @ 5:27 am | delete
    Cisco phone system has many advantages, besides facilitating international calls; they also work as caller ID to track the calls. It also helps to organize video conferencing for professional as well as personal easy communications. Nowadays there are advance technologies are utilizing for providing hassle free strategic communications around the world with new improved Cisco phone system services.
  • Reply
    ibartolic Nov 21, 2011 @ 4:52 am | delete
    Nice info. I have also few lenses from similar topic.
  • Reply
    aesta1 Nov 15, 2011 @ 8:18 pm | delete
    Very useful information. I had two people yesterday for almost a day fixing my connection. I doubt how much of these they really know. Now, you have made me understand the configuration going on.
  • Reply
    oedipust Oct 8, 2011 @ 7:14 am | delete
    I'm searching for an ADSL router which has the bandwidth management feature, as I don't want to place two things on my table (i.e. ADSL modem and Wireless router)

    I've been unsuccessful so far in finding such an ADSL router
  • Reply
    Mohamed Rashad Sep 28, 2011 @ 4:10 am | delete
    I have a TP-Link TD-W8901G Adsl modem router, is the Tomato firmware compatible? is there any suggestions for that model?
  • Reply
    PocketfulofParis Sep 11, 2011 @ 3:47 am | delete
    great lens!
  • Reply
    lostinMbytes Aug 9, 2011 @ 1:20 am | delete
    Im looking for a router that i can control the download and upload with by the mb, and also logg which mac address is doing all the downloading. currently my usage is always maxed out for the month by the 3rd week of the month and my kids keep denying who is doing what. What can i do?
  • Reply
    Chadrew Aug 29, 2011 @ 7:44 am | delete
    Maybe you could just install DU Meter on their computers, you can configure this program to send you email reports of how much bandwidth is being used.
  • Reply
    pawpaw911 Jul 20, 2011 @ 2:28 pm | delete
    Good information.
  • Reply
    dani3l Jun 4, 2011 @ 9:22 pm | delete
    nice lens, i have been using dd wrt for years and love it
  • Reply
    karty May 31, 2011 @ 7:10 am | delete
    Nice lens.Thanks for sharing. strategic planning software
  • Reply
    rugarer May 19, 2011 @ 8:54 am | delete
    Hi. i have a Zyxel wireless access point. I have about 5 computers sharing one internet connection. Is there a way I can monitor the bandwidth usage of all 5 computers without buying a server or installing a 3rd apart software apart from what the AP offers?
  • Reply
    Tang Jun 10, 2011 @ 3:31 am | delete
    I don't think so. You can't unless you implement Class or groups in QoS monitoring for each computer.
  • Reply
    SaveMySystem Jan 18, 2011 @ 3:18 am | delete
    Before picking router for connection make sure router has enough ports for PC's a as well as the Internet connection. Look for which topology you can suitably apply with particular router.
  • Reply
    notelpats Jan 11, 2011 @ 12:32 am | delete
    whats the main difference between a router and a hub?
  • Reply
    Kevin Ball Mar 20, 2011 @ 4:31 pm | delete
    A Hub is in the Layer 1 of the OSI Model (well basic Hub is) it can be Layer 1 & 2.

    A Router is in the Layer 3.
    Which means that if you want Internet Sharing among other computers. Also, if you would like a device to give you automatic IP Address (DHCP Server) You need a Router.
    If you would just like to hook up computers to talk to one another. Then a HUB or Switch is all that is needed. For instance, LAN games or file sharing.
    This is the best way it was told to me... Think of Hubs, Switch, and Routers as a Big room. Hubs and Switches will stay inside the room and never leave, if you want files to leave the room, like go in and out the front door, then the router is necessary. Router is another name for Gateway; so Gateway to the outside

    The difference between a HUB and Switch is that a HUB is old school.. When files are sent to this hub, it will send the file to ever computer on the network, the the computer will respond whether its the correct computer or not. The switch is more advance, the switch remembers which computer it goes to and only sends it to that particular computer. Therefore; speeding up the network.
  • Reply
    CRC60 Jan 10, 2011 @ 7:09 pm | delete
    Hi. The QOS features do work as advertised in the modified WRT54G, but with one catch. If your internet modem bandwidth exceeds 3 or 4 Mbits/s, the QOS software becomes the bottleneck. I upgraded to 10+M/s and found I could not get past 3 or 4. I turned off QOS and now have full speed access. However, I am left with the bandwidth sharing problem albeit less so with the faster speed for all users.
  • Reply
    Chadrew Mar 16, 2011 @ 3:17 pm | delete
    That's a good point. Back when I wrote this article, WRT54GL was a really good choice. But these days you might want to get something more powerful. Although if your internet speed is under 10 mbps, it should handle it with no problems (depends also on how many people are connected).

    CPU load from QoS depends on the number of rules, too. Also using IPP2P or Layer 7 instead of ports is more CPU intensive. Finally, you can also try overclocking the CPU to 216 MHz and more. But in the end it has its limits.
  • Reply
    Distrx Jan 4, 2011 @ 6:41 pm | delete
    I always like to give myself just that little bit extra share of bandwidth with QoS. :P
    There is nothing more rage inducing than trying to play an online FPS when someone is streaming content from the web!
  • Reply
    SaveMySystem Sep 27, 2010 @ 6:16 am | delete
    Before picking router for connection make sure router has enough ports for PC's a as well as the Internet connection. Look for which topology you can suitably apply with particular router.
  • Reply
    Draconius Sep 9, 2010 @ 8:45 pm | delete
    very helpful info thanks blessed by a squid angel
  • Reply
    icemanzebra squidoo.tango.icezebra@dfgh.net Aug 4, 2010 @ 9:46 am | delete
    The best Router to buy for this is WRT54GS versions 1.0 thru 2.1 (Serial number prefixes CGN1 thru CGN4). These have the most FLASH memory (8MB) and therefore can hold the most complex variants of dd-wrt. If range is an issue (for the neighbours) then Buffalo WHR-HP-G54 is the solution. Be sure to set the BIOS board flags to enable enahance Rx Sens. and Tx Pow. Buy both on eBay and save bigtime. Google (wrt54GS wikipedia). Google "board flags" + WHR-HP-G54. Google ("Which router should I buy" dd-wrt).

    http://www.dd-wrt.com/wiki/index.php/WHR-HP-G54
  • Reply
    john Jul 23, 2010 @ 12:57 am | delete
    can this work with win os
  • Reply
    Paul Dec 5, 2009 @ 4:29 pm | delete
    Nice post, will consired buying this router cuz I really need traffic shaping. D-link doesn't seem to offer anything like that. Thanks.
  • Reply
    rincewind Jul 11, 2009 @ 6:28 am | delete
    it's said that you can prioritize traffic coming from a specific port, or IP adress. that's not physical port, if you want connect a switch and connect as many computers as you like
  • Reply
    eggsnoop Sep 6, 2010 @ 12:46 am | delete
    You're right about managing port/IP, but DD-WRT can actually manage the "physical" port as well. I mean it can give higher priority to computer connected to plug 1 than to plug 2. But TBH when I tried DD-WRT its QoS isn't very good. Even if I set highest priority it still lags when I use other programs. Tomato is better.
  • Reply
    fendy Jun 24, 2009 @ 9:46 pm | delete
    it seem can only manage 4 port, how can i manage 20 computers with this router?
  • Reply
    Eric Dec 21, 2009 @ 11:31 pm | delete
    get a 10/100 hub/switch and hook it up. the router will give each computer its ip and will be able to control its internet trafic
  • Reply
    Mikecha Feb 14, 2009 @ 9:18 pm | delete
    i have been looking for this, thank you...
    i am goona try it
  • Reply
    Petee Feb 1, 2009 @ 1:55 pm | delete
    Good information short and to the point. Now all I need to do is figure out how to back up all computers on the network one desktop one laptop on a WD mybook.
    5 star ...
  • Reply
    Jake Aug 12, 2010 @ 5:50 pm | delete
    Hey just found this because of the topic! Good fed and info. Problem for me is that Ive just brought a Dlink DIR615 wireless router thinking that I could find a software that can manage traffic usage because we have 3 comps and one flatmate just uses our 25GB allowance in 8 days and Im getting annoyed because being in the media business we need to research. I find the N technology works better for my type of work and this wireless router was not cheap, its connected to a dynalink modem and so far Ive been told that I will need to buy a new router/modem as suggested above to manage usage. My question is to save me buying another one which leaves me out of pocket is, Is there a software or anything that I can keep these modem/routers without buying a new one. All I need is something to tell me how much GB each computer is using so they can pay for it as I own the internet account. Thanks in advance Jake
  • Reply
    marupam Sep 2, 2010 @ 6:07 pm | delete
    Hi Jake, have you looked at http://bandwidthcontroller.com/download.html? or else just get a program like the ones used for internet cafee.
  • Reply
    Sally Sep 9, 2010 @ 8:00 am | delete
    For traffic monitoring try use ProteMac Meter.It's prog help me
  • Reply
    Oscar Oct 22, 2008 @ 8:05 am | delete
    Excellent explanation =)
  • Reply
    OldGrampa Oct 8, 2008 @ 6:40 pm | delete
    Very interesting. We share an internet connection here at home using a regular router, now I am considering getting one like this to help manage our usage better.
  • Reply
    packetlog Sep 19, 2008 @ 2:10 pm | delete
    very helpful. thanks

by

Chadrew

I share a 4 mbps connection with my flatmate so this info has helped me a lot. Now we can game or use VoIP with no problems, even when the other perso... more »

Feeling creative? Create a Lens!

Bestselling Routers on Amazon 

Loading Fetching RSS feed... please stand by

Guide to Building a Home Network 

Home Networking: The Missing Manual

Amazon Price: $9.84 (as of 02/13/2012)Buy Now

If you're wondering how to hook up a few PCs or laptops into a network, this book will come in handy. It explains the network building in a few steps from choosing the right hardware to tweaking system settings.

Buy it at the Book Depository with free worldwide shipping.