Current Document and Section   Other Documents  
  - Documentation
    - User Guide
  DNS and Domains
Gateway Services Guide
Release Notes
Howtos
 
 

Network Settings - Bandwidth

Contents

[edit] Overview

Bandwidth Information
Description Manages bandwidth through the gateway.
Package Name cc-bandwidth
Configuration Page Network > IP Settings > Bandwidth


The bandwidth manager is used to shape or prioritize incoming and outgoing network traffic. You can limit and prioitize bandwidth based on IP address, IP address ranges, port, and port ranges.

Warning! 
  The bandwidth manager is designed to guarantee a certain speed for either an IP address and/or port on your LAN (or DMZ). The bandwidth manager does not manage traffic to/from the ClarkConnect box itself.  
 


[edit] Services

The Bandwidth Monitor service provides hourly bandwidth measurements from our remote system monitors. The service is an excellent tool for monitoring your Internet Service Provider's (ISP) quality of service. This service will monitor your downstream rate, the rate at which you can receive data from an external source (download speed).

[edit] How It Works

The bandwidth manager is designed to guarantee a certain speed for either an IP address and/or port on your LAN (or DMZ). The bandwidth manager does not manage traffic to/from the ClarkConnect box itself. To demonstrate how the system works, lets go through a scenario with a voice-over-IP (VoIP) server. We have:

  • a 1000 kbit/s upload and download connection to the Internet
  • a voice-over-IP (VoIP) server at 192.168.1.80 on our local network
  • enabled a bandwidth rule that reserves 500 kbit/s upload and download for the VoIP server

In our example, the network is at first completely congested with web downloads. The VoIP server is idle, so the full 1000 kbit/s is used for the web downloads. In other words, the web downloads are allowed to "borrow" the bandwidth we have reserved for the VoIP server.

Someone in the office then makes an outbound 4-person conference call via the voice-over-IP server. The conference call requires 300 kbit/s and the bandwidth manager will go into action. The lower priority web downloads will get slowed from the maximum 1000 kbit/s to 700 kbit/s. The higher priority conference call will receive its required 300 kbit/s.

[edit] Configuration

[edit] Bandwidth Rules

A bandwidth management rule contains the following six parameters.

[edit] Nickname

The first parameter is an optional nickname you can use to easily identify the rule. Valid nicknames can contain alphanumeric characters (A-z0-9) and optional dashes '-' or underscores '_". Spaces are not allowed.

[edit] IP Address/Range

The IP address parameter can contain:

  • A single IP address
  • A IP address range
  • nothing

If this field is left blank, then the bandwidth rule will be used by all IP addresses will. When specifying an IP address range, each IP in the range is allotted the specified bandwidth settings. For example, an IP address range of 192.168.1.100 to 192.168.1.105 with 100 kbit/s download means that 192.168.1.100 is permitted 100 kbit/s, 192.168.1.101 is permitted 100 kbit/s, 192.168.1.102 is permitted 100 kbit/s, etc. The range of IPs in this example does not share 100 kbit/s.

Alternatively, you can use network and netmask to specify a block of IPs that share the specified bandwidth settings. For example, 192.168.0.1/24 with 500 kbit/s download means the entire 192.168.0.x network will not be able to use more that 500 kbit/s of download bandwidth. All systems on the 192.168.0.x must share this bandwidth.

[edit] Port/Range

The port parameter is used to apply a bandwidth rule to a particular service. For instance, you can limit web traffic by specifying port 80. If the port is left empty, then all ports will be affected. You may also specify a colon-delimited port range. For instance, 5000:5010 would impact all the ports between 5000 and 5010.

[edit] Priority

Priority provides a mechanism to prioritize traffic when all bandwidth rules are at capacity. Higher priority traffic will be given preference over lower priority traffic. There are 7 priority levels, 1 - 7, where 1 is the highest priority. By default, traffic that is not matched by a bandwidth rule will be assigned the lowest priority.

[edit] Upload

The upload rate in kilobits per second. If left empty, the upload rate will be unlimited.

[edit] Download

The download rate in kilobits per second. If left empty, the download rate will be unlimited. Note: If both upload and download are left empty, then the rule will be invalid.

[edit] Peer-to-Peer Bandwidth Rules

In order to manage peer-to-peer traffic, make sure you have the Peer-to-Peer module installed.

Configuring bandwidth control for peer-to-peer is similar to creating a regular bandwidth rule. However, you need to specify the peer-to-peer network instead of the IP address and port.

[edit] Units - kbit/s, kbps, Mbps, and Other Confusion Notation

Depending on where you are and who you are talking too, there are different measurement units used for bandwidth. Here are some tips to help with converting from one unit to another -- capitalization is important:

Unit Alternatives
kilobits per second kbps kbit/s kb/s
kilobytes per second kBps kbyte/s kB/s
megabits per second Mbps Mbit/s Mb/s
megabytes per second MBps MBytes/s MB/s


Conversion tips:

  • Mega is 1000 times larger than kilo
  • A byte is 8 times larger than a bit

Examples:

  • 1 Megabit per second is approximately 1000 kilobits per second
  • 1 Megabyte per second is approximately 8000 kilobits per second

[edit] Links

Retrieved from "http://www.clarkconnect.com/docs/Network_Settings_-_Bandwidth"

This page has been accessed 16,520 times. This page was last modified 14:34, 25 March 2008.