HP vPars and Integrity Virtual Machines V6.1 Administrator Guide

Table 21 Options to the hpvmnet Command (continued)
DescriptionOption
Displays the version number of the hpvmnet command in
addition to the vswitch information.
-v
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 can be up to 64
characters. You must include either the -S or -s option.
-N new-vswitch-name
NOTE: When working with vPars, you can also use the vparnet command. See the
vparnet(1M) manpage.
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 VSP 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 7. For information about
modifying virtual networks, see Section 10.3.1 (page 151).
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.
146 Creating virtual networks