HP Integrity Virtual Machines 4.3: Installation, Configuration, Administration
Table 7-1 Options to the hpvmnet Command (continued)
DescriptionOption
Changes the specified vswitch. If used with the -N option,
the changes are made to the cloned vswitch. You must
include either the -S or -s option.
-C
Creates a new vswitch based on the existing vswitch. For
new_vswitch_name, specify the unique name of the new
virtual switch. The name of the vswitch is limited to eight
characters. You must include either the -S or -s option.
-N new-vswitch-name
The following command creates a virtual switch called clan1 that is associated with lan1. The
second hpvmnet command displays information about the clan1 vswitch.
# hpvmnet -c -S clan1 -n 1
# hpvmnet
Name Number State Mode PPA MAC Address IP Address
======== ====== ======= ========= ====== ============== ===============
localnet 1 Up Shared N/A N/A
myswitch 2 Up Shared N/A N/A
clan1 5 Down Shared lan1
The physical point of attachment (PPA) for clan1 is 1. Two vswitches (localnet and lan0)
communicate over the localnet.
To boot a vswitch, enter the hpvmnet command with the -b option. For example, to boot the
vswitch named clan1, enter the following command:
# hpvmnet -S clan1 -b
# hpvmnet -v
Name Number State Mode PPA MAC Address IP Address
======== ====== ======= ========= ====== ============== ===============
localnet 1 Up Shared N/A N/A
myswitch 2 Up Shared N/A N/A
clan1 5 Up Shared lan1 0x00306e3977ab
Note that clan1 is associated with the network interface on the VM Host that has MAC address
0x00306e3977ab (this is not the MAC address of any virtual machine connected to this vswitch).
For information about connecting vswitches to guests, see Chapter 3. For information about
modifying virtual networks, see Section 7.3.1 (page 131).
You can create multiple vswitches associated with the same host physical NIC. However, you
cannot boot (hpvmnet —b) more than one of them at the same time.
126 Creating Virtual Networks