HP-UX vPars and Integrity VM V6.3 Administrator Guide
Assign private network IP addresses to those interfaces by editing the /etc/hosts, /etc/
nsswitch.conf file, and /etc/rc.config.d/netconf on each host. Private (non-routable)
IP addresses in the range of 10.0.0.0 to 10.255.255.255 are good choices to use. (See the
chapter on Network Addressing for assistance with subnetworking configuration in the current
version of the HP-UX LAN Adminstrator's Guide).
In the following example, VSP system host2 is using network interface lan3 as its private network
to connect to VSP host1:
Address aliases from /etc/hosts on the host1 and host2 systems:
127.0.0.1 localhost loopback
15.17.81.141 host1 host1.alg.hp.com
15.17.81.142 host2 host2.alg.hp.com
10.3.81.141 host1-hpvm-migr
10.3.81.142 host2-hpvm-migr
Excerpt from /etc/nsswitch.conf on the VSP systems:
hosts: files dns
ipnodes: files dns
Excerpt from /etc/rc.config.d/netconf on the host2 system:
INTERFACE_NAME[3]=lan3
IP_ADDRESS[3]=10.3.81.142
SUBNET_MASK[3]=255.255.252.0
BROADCAST_ADDRESS[3]=""
INTERFACE_STATE[3]=""
DHCP_ENABLE[3]=0
INTERFACE_MODULES[3]=""
Example output from netstat on the host2 VSP system:
# netstat -in
Name Mtu Network Address Ipkts ...
lan3 1500 10.3.80.0 10.3.81.142 1022313379 ...
lan0 1500 15.17.80.0 15.17.81.142 2420913 ...
lo0 32808 127.0.0.0 127.0.0.1 123762 ...
You can also use the nwmgr command to help verify the connection. The following example uses
the nwmgr command on host1 to get the Station Address (MAC):
# nwmgr
Name/ Interface Station Sub- Interface Related
ClassInstance State Address system Type Interface
============== ========= ============== ======== ============== =========
lan2 UP 0x001E0B5C0572 igelan 1000Base-SX
lan0 UP 0x001E0B5C05C0 igelan 1000Base-SX
lan1 DOWN 0x001E0B5C05C1 igelan 1000Base-SX
lan3 UP 0x001E0B5C0573 igelan 1000Base-SX
lan900 DOWN 0x000000000000 hp_apa hp_apa
lan901 DOWN 0x000000000000 hp_apa hp_apa
lan902 DOWN 0x000000000000 hp_apa hp_apa
lan903 DOWN 0x000000000000 hp_apa hp_apa
lan904 DOWN 0x000000000000 hp_apa hp_apa
The following example on host2 tests the connection to Station Address 0x001E0B5CO573 of
host1:
# nwmgr --diag -A dest=0x001E0B5C0573 -c lan3
lan3: Link check succeeded.
You can use the ssh and the env commands to verify whether the private network connection is
working properly between two VSP systems, and whether you are using the correct network
interfaces. For example:
# ssh host1-hpvm-migr env | grep -i connection
SSH_CONNECTION=10.3.81.142 52215 10.3.81.141 22
12.3 VSP and VM configuration considerations 209