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
]
[
-d
,
--description
description
]
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.
|
-d,--description
description
|
A user-defined description of the virtual network.
|
--ip-scope-start
IP_address
--ip-scope-end
IP_address
|
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.
|
Links
General Syntax
|