Configuring Network ClassesParallels Server Bare Metal allows you to track the inbound and outbound network traffic as well as to shape the outgoing traffic for a Container. 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 Parallels Server Bare Metal counts and shapes the traffic.
Classes are specified in the
<
where
Classes 0 and 1 have special meanings. Class 0 defines the IP address range for which no accounting is performed. Usually, it corresponds to the server subnet (the server itself and its Containers). Setting up Class 0 is not required; however, its correct setup improves performance. Class 1 is defined by Parallels Server Bare Metal to match any IP address. It must be always present in the network classes definition file. Therefore, it is suggested not to change the default line 1 0.0.0.0/0
in the
# server Containers networks
# any IP address (all traffic)
# class 2 addresses for the "foreign" traffic
# inside "foreign" network there
In this example, the IP addresses in the range of 192.168.0.0 to 192.168.255.255 are treated as Class 0 addresses and no accounting is done for the traffic from Containers destined to these addresses. Class 2 matches addresses in two ranges: from 10.0.0.0 to 10.255.255.255 and from 11.0.0.0 to 11.255.255.255 with the exception of addresses in the sub-range of 10.10.16.0 to 10.10.16.255, which are treated as Class 1. All other IP addresses belong to Class 1. As far as the Class 2 addresses in this example are used for foreign routing, the Class 1 addresses are used for local (domestic) routing, by the exclusion method. |
||||
|