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|shared]
[-d,--description description]
[-n, --name new_name]
[--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
|
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 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.
|
-n, --name new_name
|
A new name for the virtual network. Use this parameter if you would like to rename 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.
|
|