Previous page

Next page

Locate page in Contents

Print this page

Networking Parameters

Network-related parameters allow you to set bandwidth management parameters, hostname and IP addresses that a Container can use, and other parameters.

Name

Description

HOSTNAME

If this parameter is specified, then prlctl will set the hostname to its value upon the next Container start. This parameter can be omitted. In this case, the Container administrator should configure the hostname manually.

IP_ADDRESS

This is the list of IP addresses, which can be used on Container network interfaces. This list is an argument of the Container start call and it is impossible to assign IP address from inside the Container if the address is not on the list. Any IP address assigned from within the Container will be visible only within the Container.

NAMESERVER

The IP address of the DNS server the Container is supposed to use. More than one server can be specified in the space-separated format.

SEARCHDOMAIN

DNS search domains for the Container. More than one domain can be specified.

NETDEV

The names of physical network adapters that have been moved from the server to the given Container.

NETFILTER

Indicates which iptables modules are allowed for the Container.

If some of the allowed modules are not loaded on the destination Hardware Node after migration or restoration from backup, they will be automatically loaded on the migrated or restored Container start.

The following modes are available:

  • disabled : none.
  • stateless : (default) all modules except conntrack and NAT-related.
  • stateful : all modules except NAT-related.
  • full : all modules.

NETIF

Specifies a number of parameters for the virtual network adapters existing inside the Container. These parameters include:

  • ifname : the name of the veth virtual Ethernet interface inside the Container.
  • mac : the MAC address assigned to the veth virtual Ethernet interface inside the Container.
  • host_mac : the MAC address assigned to the veth virtual Ethernet interface on the server.
  • network : the name of the virtual network where the veth virtual network adapter is included.
  • ip : the IP address(es) assigned to the veth virtual network adapter.

RATE

If traffic shaping is turned on, then this parameter specifies bandwidth guarantee, in Kbps, for the Container. The parameters should be set in the form of eth0:1:8 .

RATEBOUND

If set to yes , the bandwidth guarantee is also the limit for the Container, and the Container cannot borrow the bandwidth from the TOTALRATE bandwidth pool.