Previous page

Next page

Locate page in Contents

Print this page

vznetcfg

The vznetcfg utility is used to manage the following network devices on the server:

  • physical and VLAN (Virtual Local Area Network) adapters
  • Virtual Networks (VNs)

vznetcfg has the following syntax:

vznetcfg command

Where command can be one of the following:

Name

Description

net new < VN_name >

Creates a new Virtual Network with the name of < VN_name > on the server.

net addif

< VN_name >|< interface_name >

Connects a network device with the name of < interface_name > to the Virtual Network having the name of < VN_name > . You can join the following network devices to the Virtual Network:

  • physical network interface cards (NICs) installed on the server
  • VLAN adapters bound to NICs on the server

net delif
< interface_name >

Disconnects a network device (either a NIC or a VLAN adapter) with the name of < interface_name > from the corresponding Virtual Network.

net change
< old_VN_name > < new_VN_name >

Changes the Virtual Network name from < old_network_ID > to < new_VN_name > .

net del < VN_name >

Removes the Virtual Network with the name of < VN_name > from the server.

vlan add < parent_interface > < index_number >

Creates a new VLAN adapter, associates it with the VLAN ID of < index_number > (where < index_number > can be an arbitrary integer number to be used to uniquely identify the VLAN among other VLANs on the server), and ties it to the < parent_interface > physical network adapter on the server.

vlan del < vlan_adapter_name >

Removes the VLAN adapter with the name of < vlan_adapter_name > from the server.

Note: A VLAN adapter name is automatically generated by Parallels Server Bare Metal on the basis of the VLAN ID and the name of the physical adapter you specified during the VLAN adapter creation (e.g. eth0.1 ). You can find out the VLAN name using the vznetcfg if list command.

if list

Lists detailed information on all network devices (NICs, VLAN adapters, etc.) available on the server.

net list

Displays detailed information on the Virtual Networks currently existing on the server.

init all

Initializes all interfaces (e.g. VLANs and bridges) listed in the /etc/vz/vznet.conf file on the server. You may wish to make use of this command when creating startup scripts.

down all

Disables all interfaces (e.g. bridges and VLANs) listed in the /etc/vz/vznet.conf file on the server.