HP Integrity Virtual Machines Installation, Configuration, and Administration Version A.03.50

NOTE: Trunking software such as APA is supported only on the VM Host, not on the
guest.
Guest virtual network interface card (vNIC) — the virtual network adapter, as recognized
by the guest operating system.
Virtual switch (vswitch) — the virtual network switch maintained by the VM Host that is
associated with a pNIC and can be allocated to one or more guests.
Using redundant pNICs and APA, you can ensure high availability of the guest networks and
provide greater capacity for the VM Host system running many guests with network-intensive
applications.
You can configure HP-UX VLANs for the guests. VLANs isolates broadcast and multicast traffic
by determining which destinations should receive that traffic, thereby making better use of switch
and end-station resources. With VLANs, broadcasts and multicasts go only to the intended nodes
in the VLAN.
8.2 Creating and Managing vswitches
The following sections describe how to create, modify, delete, and manage vswitches.
8.2.1 Creating vswitches
To allow guests to access network devices, you must create vswitches on the VM Host. This
section describes how to create a vswitch and verify that it has started.
To create vswitches, use the hpvmnet command. The following is the basic format of the hpvmnet
command to create a vswitch:
hpvmnet -c -S vswitch-name -n nic-id
This command format includes the following options:
-c indicates the creation of a vswitch.
-S vswitch-name specifies the name of the vswitch.
-n nic-id specifies the network interface on the VM Host that the new vswitch will use.
For example, n 0 indicates lan0. Network interfaces are displayed by the lanscan
command. If you do not include the -n option, a local vswitch is created, as described in
Section 8.2.1.1 (page 112).
The hpvmnet command also allows you to display and manage the vswitches on the VM Host.
Table 8-1 describes the options to the hpvmnet command.
Table 8-1 Options to the hpvmnet Command
DescriptionOption
Boots a vswitch. The vswitch must be booted before it can
accept network traffic. All vswitches are booted
automatically when Integrity VM is started.
-b
Creates a new vswitch.
-c
Halts one or all vswitches. You are asked to confirm this
action.
-h
Deletes a virtual switch. You are asked to confirm this
action.
-d
Specifies the network interface on the VM Host that the
new vswitch will use. For example, to associate a vswitch
to lan0, enter -n 0.
-n nic-id
Specifies the port number. To display information about
all ports, enter p all.
-p n
110 Creating Virtual Networks