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

NOTE: If you modify a vNIC from lan to avio_lan, or avio_lan to lan, you must restart
the vswitch.
As with virtual storage devices, use the -a rsrc option to associate a guest virtual network device
with a vswitch. Before you use this option to associate the virtual network device with a vswitch,
create the vswitch using the hpvmnet command. The format of the rsrc parameter for network
devices is:
network:adapter-type:[hardware-address]:vswitch:vswitch-name
The guest virtual network device information consists of the following fields, separated by colons:
network
adapter-type, which can be either lan or avio_lan
[hardware-address] (optional), formatted as bus,device,mac-addr. If you do not
specify the hardware address, or a portion of it, the information is generated for you. HP
recommends allowing Integrity VM to generate the hardware address. The hardware address
consists of the following information:
bus (virtual network device PCI bus number)
device (virtual network device PCI slot number)
mac-addr (the virtual network device MAC address) in either of the following formats:
0xaabbcc001122 or aa-bb-cc-00-11-22. The MAC address that you enter is
checked to make sure it does not conflict with any of the VM Host’s physical network
adapter MAC addresses.
vswitch
The virtual switch information is formatted as vswitch:vswitch-name (where
vswitch-name is the name assigned to the virtual network switch when you create it using
the hpvmnet command)
8.3.1 Removing vNICs
To remove a vNIC from a virtual machine's configuration, first stop the guest using the hpvmstop
command. Then use the -d option to the hpvmmodify command. The -d option allows you to
specify the vswitch and the vNIC information. The following is the syntax of the hpvmmodify
-d command:
hpvmmodify -P vm-name -d network:adapter-type:[hardware-address]:vswitch:vswitch-name
After making this change, start the guest using the hpvmstart command.
8.4 Configuring VLANs
A local area network (LAN) defines a broadcast domain in which bridges and switches connect
all end nodes. Broadcasts are received by every node on the LAN, but not by nodes outside the
LAN.
A virtual LAN (VLAN) defines logical connectivity instead of the physical connectivity defined
by a LAN. A VLAN provides a way to partition a LAN logically such that the broadcast domain
for a VLAN is limited to the nodes and switches that are members of the VLAN.
VLANs provide the following benefits:
Enhanced security through traffic isolation within nodes that are VLAN members
Bandwidth preservation, limiting the broadcast domain to a VLAN instead of the entire
LAN
Enhanced manageability for node migrations and network topology changes
Figure 8-2 illustrates a basic virtual machine VLAN that allows guests on different VM Host
systems to communicate.
116 Creating Virtual Networks