HP-UX HB v13.00 Ch-09 - Networking Basics

HP-UX Handbook Rev 13.00 Page 16 (of 27)
Chapter 09 Network Basics
October 29, 2013
communication within the same logical subnet, you should use “HP AUTO-PORT Aggregation”
software (aka APA) as a supported solution. Additionally, APA can provide load balancing and
high availability.
Dead Gateway Detection
Starting with HP-UX 11.00, systems use the so-called Dead Gateway Detection mechanism, i.e.
the active gateways in the routing table are pinged regularly to see if they are still active. If there
is no answer from the gateway, then the appropriate entry is deactivated (marked DEAD). As a
result, devices like Firewalls or Routers, which do not answer to ICMP-ECHO-REQUESTS,
cause problems. To deactivate this feature use the command:
# ndd -set /dev/ip ip_ire_gw_probe 0
Private IP addresses
If you have to build a private network, it is still recommended that the IP addresses follow the
RFC 1918 standard. The following address ranges are exclusively used for private networks and
should never be used within the public internet:
1 Class A network number: 10.0.0.0
2 Class B network numbers: 172.16.0.0 ...172.31.0.0
256 Class C network numbers: 192.168.0.0 ...192.168.255.0
Manual configuration an example
The following steps could be used as a guideline for testing and configuring NICs manually.
First, check whether the interface is recognized by the kernel with ioscan funC lan. It should
show you the hardware path and driver information. Then, run
# lanscan |grep lan1
0/1/2/0 0x00306EF372E5 1 UP lan1 snap1 2 ETHER Yes 119
This command returns the name and the “card instance number” = “Crd In #” of the NIC
required for further configuration and tests. It will also show the “Station Address”, (MAC
address), of the card.
Now, we check what is configured on this interface:
# netstat -in |grep lan1
No output means, the interface is recognized by the system, but it is not configured yet. Getting
no response is what we expect. We can configure an IP address on this interface:
# ifconfig lan1 10.10.10.111 netmask 255.255.255.0 up
After that, all commands should recognize the interface