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 virtual machine and 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:
Other classes should be defined after class 1. They represent exceptions from the "matching-everything" rule of class 1. The example below illustrates a possible configuration of the network classes definition file containing rules for both IPv4 and IPv6 addresses:
# server networks
0 fe80::/64
# any IP address (all traffic)
1 ::/0
# class 2 – addresses for the "foreign" traffic
# inside "foreign" network there
1 2001:db88:3333::/64
In this example, IPv4 addresses in the range of
Class 2 matches the following IP addresses:
All other IP addresses (both IPv4 and IPv6) belong to class 1.
Note:
After editing the
|
||||
|