HP Integrity Virtual Machines Installation, Configuration, and Administration
8 Creating Virtual Networks
You can allocate virtual network devices or virtual network interface cards (VNICs) to the guest
when you create the guest with the hpvmcreate command or when you modify an existing
guest using the hpvmmodify command, as described in “Creating Virtual Machines” (page 27).
Virtual network interface cards are added using the same option that is used to add storage
devices, but the format of the argument to the command option is different. To add a VNIC to
a guest, use the following command option:
-a network:adaptertype:bus,device,mac-addr:vswitch:vswitch-name:portid:portnumber
However, before you can allocate the vswitch to the guest, you must create the virtual switch
(vswitch) using the hpvmnet command. This chapter describes how to create and manage
vswitches, including:
• Section 8.1: “Introduction to Virtual Network Configuration” (page 99)
• Section 8.2: “Creating and Managing vswitches” (page 100)
• Section 8.3: “Managing VNICs” (page 105)
• Section 8.4: “Configuring VLANs” (page 106)
• Section 8.5: “Troubleshooting Network Problems” (page 110)
8.1 Introduction to Virtual Network Configuration
The guest virtual network configuration provides flexibility in network configuration, allowing
you to provide high availability, performance, and security to the guests running on the VM
Host. The basic virtual network configuration is illustrated in Figure 7–1.
Figure 8-1 Virtual Network Configuration
VM Host
Localnet Vswitch1 Vswitch2
Intranet
Guest 1
VNIC 1 VNIC 2
Guest 2
VNIC 1 VNIC 2
Guest 3
VNIC 1 VNIC 2
PNIC 1PNIC 2
The virtual network configuration consists of the following components:
• VM Host physical network interface card (pNIC) — the physical network adapter, which
may be configured with Auto Port Aggregation (APA). (For more information about APA,
see the HP Auto Port Aggregation (APA) Support Guide.)
• 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.
8.1 Introduction to Virtual Network Configuration 99