Previous page

Next page

Locate page in Contents

Print this page

net set

The prlsrvctl net set command is used to modify an existing virtual network.

Syntax

prlsrvctl net set vnetwork_id [ -i , --ifname if ] [ -m , --mac mac_address ]

[ -t , --type bridged | host-only ]

[ -d , --description description ]

[ -n , --name new_name ]

Parameters

Name

Description

vnetwork_id

The name of the virtual network to modify.

-i,--ifname if

The name of a physical network adapter on the host to which this virtual network should be bound.

-m,--mac mac_address

The MAC address of a virtual network adapter on the host to which this virtual network should be bound.

-t,--type

The type of the virtual network to create. Possible values are:

  • bridged . A  virtual machine connected to this type of virtual network appears as an independent computer on the network.
  • host_only . A virtual machine connected to this type of virtual network can access only the host and the virtual machines connected to the same virtual network.

-d,--description description

A user-defined description of the virtual network.

-n, --name new_name

A new name for the virtual network. Use this parameter if you would like to rename the virtual network.

Links

General Syntax