Previous page

Next page

Locate page in Contents

Print this page

Configuring Virtual Network Parameters

Virtuozzo allows you to configure the following parameters for a virtual network:

  • the name assigned to the virtual network
  • the networking mode in which the virtual network is operating
  • the description of the virtual network

All these operations can be performed using the prlsrvctl utility. Let us assume that you want to configure the pcsnet1 virtual network. This virtual network is currently configured as a host-only network and has the following description set: This is a host-only virtual network. To change these parameters, you can execute the following command:

# prlsrvctl net set pcsnet1 -n network1 -t bridged --ifname eth1 -d "This is now a bridged virtual network"

This command configured the pcsnet1 virtual network as follows:

  1. Changes the virtual network name to network1.
  2. Changes the virtual network type to bridged.
  3. Changes the virtual network description to the following: This is now a bridged virtual network.

For more information on the prlsrvctl utility, refer to the Virtuozzo 6 Command Line Reference Guide.