Previous Topic

Next Topic

Configuring Traffic Classes

The HSPcomplete service level management tools allow you to track the inbound and outbound network traffic Virtual Private Servers and physical dedicated servers. In order to provide the ability to distinguish between domestic and international traffic, a concept of network classes is introduced. It is important to fully understand this notion, because network classes IDs are used in the values of some network traffic parameters. A network class is a range of IP addresses for which traffic is counted and charged.

HSPcomplete allows having up to 15 different network classes specified. Each class can contain one or more IP address ranges.

Classes 1 and 2 have special meanings. Class 1 defines the IP address range for which no accounting is done. Usually, it corresponds to the Virtuozzo Hardware Node subnet (the Node itself and its VEs). Setting up Class 1 is not required; however, its correct setup improves performance.

Class 2 is defined to match any IP address. It must be always present in the network classes definition file. Other classes should be defined after Class 2. They represent exceptions from the "matching-everything" rule of Class 2.

Traffic classes IDs are assigned automatically and cannot be changed later.

The tools for traffic classes management are grouped under the Service Director - Service Level Manager - Traffic Classes.

The order of traffic accounting follows the order of traffic classes in the list shown on the HSPcomplete screen.

Traffic accounting by classes can be set for all hosting plan (except Miscellaneous and Domain Registration). For all types of Virtuozzo hosting plans (VE, Dedicated Virtuozzo server, Plesk server in VE) and dedicated hosting all traffic classes are applicable. For Plesk hosting plans (Dedicated Plesk Server, Plesk Client, Plesk Domain) only Class 2 is applicable.

To add a network class:

  1. Click Traffic Classes on the Service Level Manager submenu. The list of all traffic classes appears on the screen.
  2. Click the Add Traffic Class button.
  3. Fill the form that appears:
    1. Enter the traffic class friendly name into the Traffic Class Name field.
    2. To perform the traffic accounting by the class and make it possible to define the traffic accounting by this class for hosting plans, you need to enable the traffic class by checking the Enabled box.
    3. You can add a free-form comment into the Description field.
  4. Click the OK button. The newly created traffic class properties appear on the screen. They display all the data entered for the class plus one more property - the used field. This field shows whether a class is used in hosting plan(s) or not (green tick -yes, used, red cross - not used). If a traffic class is used in at least one hosting plan, it cannot be deleted.
  5. Click the IP Ranges tab to define the range(s) of IP addresses to be accounted.
  6. Click the Add IP range button.
  7. Fill the form that appears:
    1. Type the starting IP address into the IP range and the netmask in the bit form into the Range prefix field.
    2. You can add the detailed description of the IP range into the Description field.
  8. Click the OK button.

Please send us your feedback on this help page