Managing network traffic with WebHTB

Traffic CONTROL

© Paulus Rusyanto, Fotolia.com

© Paulus Rusyanto, Fotolia.com

Article from Issue 102/2009
Author(s):

We show you how WebHTB lets you manage network bandwidth through a convenient browser interface.

Most client computers are configured to draw the bandwidth they need up to the limits of the hardware, but the default techniques for sharing bandwidth among multiple systems on a local network are often inadequate when traffic volumes climb. Many admins find they get better network performance (and fewer user complaints) by imposing a system that places limits on individual bandwidth usage. For instance, imagine what would happen if several of the systems on a local network simultaneously started downloading movies from torrent sites, using up to 98 percent of the collective download and upload capacity. The other users on the network would complain, and you as the network administrator would have to devote precious time to troubleshooting and answering email. Why not let an automated system impose bandwidth management that addresses these kinds of issues?

Unfortunately, the tools that take advantage of the QoS (Quality of Service) entry in the Linux kernel are often difficult to set up and configure, and the best ones require a kernel recompile. The HTB-tools package [1] has long been a standard Linux tool for limiting bandwith use. Although it requires a lot of calculations and fiddling with configuration files, you can fine-tune HTB-tools to meet the needs of your network.

An easy alternative for managing traffic flow on your local network is a tool called WebHTB. WebHTB (Figure 1) is a set of PHP files that can help you allocate bandwidth through a web-based AJAX front end. WebHTP lets you limit bandwidth on external and internal IP addresses and manage bandwith on private Secure Network Address Translation (SNAT) addresses.

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Download Article PDF now with Express Checkout
Price $2.95
(incl. VAT)

Buy Linux Magazine

Related content

  • Charly's Column: Mod_bw

    A powerful web server will not help you much if too many users are competing for the bandwidth of its network connection. Sys admin columnist Charly came to a decision: The big data hogs get less favorable spots at his watering hole in future.

  • Keep an Eye on Network Usages with NetCounter for Android
  • iftop

    The iftop utility looks simple, but this versatile tool can provide a wealth of network monitoring information.

  • Overlay Networks

    An overlay network will help you block unwanted eavesdroppers on the Internet. We show you some of the leading open source options.

  • Traffic shaping with Trickle

    Is your Internet connection groaning under the load of too many simultaneous downloads? If so, try Trickle, a simple application that gives you more granular control over network traffic.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News