Previous page

Next page

Locate page in Contents

net add

The prlsrvctl net add command is used to create a new virtual network.

Syntax

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

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

              [-d,--description description]

              [--ip addr[/mask]][--dhcp-server on|off][--dhcp-ip ip]

              [--ip-scope-start ip][--ip-scope-end ip]

              [--ip6 addr[/mask]][--dhcp6-server on|off][--dhcp-ip6 ip]

              [--ip6-scope-start ip][--ip6-scope-end ip]

Parameters

Name

Description

vnetwork_id

A user-defined name that will identify the new virtual network.

-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 value

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 (default). A virtual machine connected to this type of virtual network can access only the host and the virtual machine connected to the same virtual network.
  • shared. A virtual machine shares the network adapter with the host computer.

-d,--description description

A user-defined description of the virtual network.

--ip addr[/mask]

IPv4 address and mask for the Parallels virtual adapter.

--dhcp-server on|off

Enable or disable the Parallels virtual DHCPv4 server.

--dhcp-ip ip

Set an IPv4 address for the Parallels virtual DHCPv4 server.

--ip-scope-start ip

--ip-scope-end ip

Sets the start and end IP addresses for the DHCP pool. The virtual machines connected to the network you are creating will automatically receive their IP addresses from this DHCP pool.

--ip6 addr[/mask]

Set an IPv6 address and subnet mask for the Parallels virtual adapter.

--dhcp6-server on|off

Enable or disable the Parallels virtual DHCPv6 server.

--dhcp-ip6 ip

Set an IPv6 address for the Parallels virtual DHCPv6 server.

--ip6-scope-start ip

--ip6-scope-end ip

Set a start IPv6 address for the pool of IPv6 addresses.

Set an end IPv6 address for the pool of IPv6 addresses.