HP-UX LAN Administrator's Guide (July 2003)

DRAFT COPY Configuring HP-UX LAN Using SAM
Verifying the Installation
Chapter 2 15
Verifying the Installation
Once your HP-UX LAN software is installed, fully configured and running, you should execute
the following commands to verify LAN hardware and software installation. See the man
pages for complete descriptions of the commands listed below.
1. Check the state of all LAN hardware. To do so execute the lanscan command and verify
that the Hardware State is UP.
2. Check the state of the network interface. To do so execute ifconfig on the interface you
wish to verify. The example below will provide information about the lan0 interface.
ifconfig lan0
3. Verify link level loopback connectivity using the linkloop command with the PPA and
station address of the interface you want to test. You can obtain the station address
(typically 0x080009######) and PPA from the lanscan command output. The example
below will test the connectivity of the LAN card with PPA 4 and station address
0x080009266C3F.
linkloop -i 4 0x080009266C3F
4. Verify that the /dev/lan and /dev/snap files have been created and symbolically linked
to the /dev/dlpi file.
ls -l /dev/lan
ls -l /dev/snap
5. To check that the your system can communicate with other systems, enter the ping
command at the HP-UX prompt. In this example, 191.2.1.2 is the IP address of the remote
system. Enter [Ctrl]-C to stop ping.
ping 191.2.1.2
HP-UX LAN installation is verified if the steps above are successful. For information on
troubleshooting HP-UX LAN configuration and operation, refer to the section“Diagnostic
Flowcharts” in Chapter 4, “Troubleshooting HP-UX LAN.”