HP-UX vPars and Integrity VM V6.3 Administrator Guide

# hpvmmodify -P host1 -a network:avio_lan::vswitch:clan0
NOTE: Never directly modify the guest configuration files. Always use the Integrity VM commands
to modify the virtual devices and VMs. Failure to follow this procedure results in unexpected
problems when guests are started.
The virtual network entry in the guest configuration file includes the guest information on the left
side of the equal sign (=), and VSP information on the right. The data about the guest LAN example
includes the following information:
Bus 0 and device number 0 indicate the guest LAN hardware path.lan(0,0)
Guest virtual MAC address.0xEEEE4077E7EB
The vswitch name is clan1.switch(clan1)
The VLAN port number is 4.4
The output of running the nwmgr command on the guest host1:
# nwmgr
Name/ Interface Station Sub- Interface Related
ClassInstance State Address system Type Interface
============== ========= ============== ======== ============== =========
lan0 UP 0xEEEE4077E7EB iexgbe 10GBASE-KR
lan1 UP 0x00306E3977AB iexgbe 10GBASE-KR
lan2 UP 0x00306E4CE96E iexgbe 10GBASE-KR
NOTE: Do not include the hardware address (for example, bus, device, mac-addr) with the
hpvmmodify command, because Integrity VM picks an available pcibus, pcislot and generates
a random MAC address.
The hardware path from the output of nwmgr command on the guest matches the path in the guest
configuration file. The Station Address in the nwmgr output also matches the guest virtual
MAC address in the guest configuration file.
8.3.2 Removing vNICs
To remove a vNIC from a configuration of the VM, first, stop the guest using the hpvmstop
command. Then, use the -d option with 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 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 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.
120 Creating virtual and direct I/O networks