HP Integrity Virtual Machines 4.3: Installation, Configuration, Administration

NOTE: The lanadmin command is deprecated and will be removed in a future HP-UX
release. HP recommends that you use the nwmgr command to perform all network
interface-related tasks.
The following table shows the comparable nwmgr command to use to replace the lanadmin
command:
nwmgr CommandLegacy CommandTask
# nwmgr -g -A vmtu -c lann# lanadmin -x vmtu n
Verify whether TSO is turned on. n
is the VM Host interface, as
displayed by the hpvmnet
command.
# nwmgr -g -A vmtu -c lan0
lan0 current values:
Virtual MTU = 32160
TCP Segmentation
Offload is now disabled.
# lanadmin -x vmtu 0
Driver/Hardware supports
TCP Segmentation Offload,
Current VMTU = 32160
Verify that TSO is on for lan0.
# nwmgr -s -A vmtu=0 -c
lan0
lano current values:
New Virtual MTU=0
# lanadmin -X vmtu 0 0
Virtual MTU is set to 0
Turn TSO off on lan0.
# nwmgr -s -c lan0 -A all
--sa -fr cu
Manually edit the configuration file
in /etc/rc.config.d, or use SAM
interface. See the Ethernet Support
Guide for details.
Allow the TSO attribute change
along with the rest of the lan
attributes to be perserved between
system reboots by saving the
current attributes to the lan
configuration file.
AVIO LAN devices not claimed by guest with DOWN vswitch at boot time.
In addition to running ioscan, you must re-run the necessary network startup scripts, so
that IP addresses can be reconfigured on the network interface cards (NICs). For example:
/sbin/rc2.d/S340net start
/sbin/rc2.d/S340net-ipv6 start
7.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:
7.5 Troubleshooting Network Problems 139