HP-UX System Administrator's Guide: Configuration Management HP-UX 11i v3 (B3921-90017, September 2010)

Optionally, if you want to verify that the driver appears for each installed card, enter:
# ioscan -fknClan
The output for each port would look something like the following:
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
lan 6 1/0/2/1/0/6/0 iether CLAIMED INTERFACE HP AD193A PCI/PCI-X 2-port 4Gb FC/2-port
1000B-T Combo Adapter
lan 6 1/0/2/1/0/6/1 iether CLAIMED INTERFACE HP AD193A PCI/PCI-X 2-port 4Gb FC/2-port
1000B-T Combo Adapter
The last two digits of the hardware path (third column) reflect the path of each port;
in the sample output shown, the 0 indicates LAN A and the 1 indicates LAN B (for the
two LAN ports on a multiport card). In this example of a card with two LAN ports,
both ports need to show as CLAIMED here.
Routing: Configuring the LAN to Reach Other Networks
Once your IP address and subnet mask have been set, HP-UX should be able to deliver
data to any node on your local network. In order for your local network to reach other
networks, your machine needs access to a router or switch (devices that route data to
other networks). A router is also considered a gateway to another network. Configuring
the identity of a default gateway on your local machine can be done in any of four
ways:
Using HP SMH.
Using set_parms.
Editing the /etc/rc.config.d/netconf file. The following entries define the
routing for a single interface on a system.
ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="196.6.20.2"
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""
As needed, set ROUTE_DESTINATION[0]="default" and
ROUTE_COUNT[0]="1". Save changes.
After editing the netconf file, to start services and initiate the new route, use:
# /sbin/init.d/inetd start
# /sbin/init.d/net start
Using the route command to put the new route into effect on the system as
follows:
# /usr/sbin/route add default router_ip_address 1
If a different default route has already been defined, avoid ending up with two
default routes on the system—one to the old gateway and one to the new
gateway—by removing an existing route first. Use:
# route -f
# route add default router_ipaddress 1
Ethernet Configuration and Verification 141