This group of parameters is used to manage virtual network adapters in a virtual machine.
Syntax
prlctl set ID|VM_name --device-add net --type shared|host
[--mac addr][--enable|--disable][--connect|--disconnect]
prlctl set ID|VM_name --device-add net --type bridged --iface name
[--mac addr][--enable|--disable] [--connect|--disconnect]
prlctl set ID|VM_name --device-set netN --type shared|host
[--mac addr][--enable|--disable][--connect|--disconnect]
prlctl set ID|VM_name --device-set netN --type bridged
--iface name [--mac addr|auto][--enable|--disable]
[--connect|--disconnect]
Parameters
Name |
Description |
|
The virtual machine ID. |
|
The virtual machine name. |
|
Adds a new virtual network adapter to the virtual machine. |
|
Used to configure an existing virtual network adapter. |
|
Specifies the virtual device type to add (in this instance, a virtual network adapter). |
|
The name of the virtual network adapter to modify. To obtain the list of the available adapters, use the |
|
Sets the networking mode for the virtual network adapter:
|
|
Used with the bridged networking mode (see above). Specifies the name of the physical network adapter to which the virtual adapter should be bound. |
|
The MAC address to be assigned to the virtual network adapter. If this option is omitted, the MAC address will be generated automatically. |
|
Specifies the MAC address to assign to an existing network adapter. Specify a desired MAC address using the |
|
Enables the virtual network card. All newly created network adapters are enabled by default (provided the |
|
Disables virtual network adapter. The adapter itself is not removed from the virtual machine configuration. Please note that a disabled virtual network adapter can only be enabled in a stopped virtual machine. |
|
Automatically connect the virtual network adapter during the virtual machine startup process. |
|
Do not automatically connect the virtual network adapter during the virtual machine startup process. |
Links