Previous page

Next page

Locate page in Contents

Print this page

Creating and Deleting Virtual Adapters

A virtual machine can have up to 16 virtual network adapters. Each adapter can be connected to a different network. Let us assume that you want to create a new virtual adapter for the MyVM virtual machine. To do this, you can execute the following command :

# pctl set MyVM --device-add net

Creating net1 (+) type=host-only iface='default' mac=001C42AF3D69

The VM has been successfully configured.

To check that the network adapter ( net1 ) has been successfully added to the virtual machine, run this command:

# pctl list --info MyVM

ID: {f3b3d134-f512-324b-b0b1-dbd642f5220b}

Name: Windows XP

...

net0 (+) type=host-only iface='default' mac=001C42566BCF

net1 (+) type=host-only iface='default' mac=001C42AF3D69

At any time, you can remove the newly created network adapter ( net1 ) by executing the following command:

# pctl set MyVM --device-del net1

Remove the net1 device.

The VM has been successfully configured.

For the full of options that can be used when creating a new virtual network adapter, see the Parallels Server Bare Metal 5.0 Command Line Reference Guide .