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

8.4.3 Configuring VLANs on Physical Switches
When communicating with a remote VM Host or guest over the network, you might need to
configure VLANs on the physical switches. The physical switch ports that are used must be
configured specifically to allow the relevant VLANs. If the remote host is VLAN aware, You
must configure VLAN interfaces on the host for the relevant VLANs. Use thelanadmin command
to configure VLANs on a remote HP-UX host. For example, to configure a VLAN interface with
VLAN ID 100 on lan4, enter the following command:
# lanadmin -V create vlanid 100 4
Successfully configured
lan5000: vlanid 100 name UNNAMED pri 0 tos 0 tos_override IP_HEADER pri_override CONF_PRI ppa 4
8.5 Troubleshooting Network Problems
This section describes some commonly encountered problems using virtual networks.
Do not kill hpvmnetd
Do not use the kill command to remove the hpvmnetd process. If you do, the following
error message indicates that the hpvmnet daemon has been killed:
hpvmnetd: Switch 0000564d4c414e31 already exists
If the hpvmnetd process is removed, vswitches do not work properly.
8.5.1 Redefining pNICs for HP-UX Guests
Changing the hardware address of a vswitch has the same effect as moving a network adapter
from one hardware slot to another on an HP Integrity system. Similar to other HP-UX systems,
the guest file /etc/rc.config.d/netconf must be modified so that INTERFACE_NAME[0]
reflects the new LAN PPA assigned by the HP-UX network driver on the first guest reboot after
the modification. At this first reboot, the LAN interfaces configuration fails, as follows:
Configure LAN interfaces ............................ . FAIL
*
When the guest is running, you can use the lanscan command to identify the new LAN PPA
and to modify netconf. For example:
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/5/0 0x02636C6E3030 1 UP lan3 snap3 1 ETHER Yes 119
In the preceding example, before the modification, the LAN PPA was 0. The new LAN PPA on
the first boot after the modification is 3. Therefore, you must first bring the guest network down,
then you must change the INTERFACE_NAME[0] from lan0 to lan3. You can then use /sbin/
rc2.d/S340net to restart the guest network. For example:
# /sbin/rc2.d/S340net stop
# ch_rc -a -p "INTERFACE_NAME[0] = "lan3"
# /sbin/rc2.d/S340net start
The guest network begins to function.
8.5.2 AVIO Supported Ethernet Cards
The following Ethernet cards are supported with AVIO on HP-UX guests:
A6794A — Core
A6825A — Core
A7109A — Core
A6847A — Add-in
AB465A — Combo Add-in
A9782A — Combo Add-in
120 Creating Virtual Networks