Ethernet Support Guide for HP-UX 11i v3

4.3.12 Flowchart 11: ifconfig test
Use the process in this flowchart to verify configuration of the network interface on a host.
Figure 12 Flowchart 11: ifconfig test
Enter
ifconfig interface
IP address netmask
netmask up command.
Enter ifconfig interface
command.
Add network config
for card to
/etc/rc.config.d/netconf.
Correct problem
according to
message received.
Correct ifconfig
flag settings.
Repeat ifconfig
test
ifconfig
successful
?
ifconfig entry in
/etc/rc.config.d/netconf
?
YES
NO
Are
flags
correct?
NO
NO
YES
YES
YES
Any error
messages
returned?
YES
NO
ifconfig
Test
Call HP
Network-
level
tests
4.3.12.1 Flowchart 11 procedures
To ensure that the interface is enabled, enter ifconfig on the interface you want to configure.
For example:
ifconfig lan1 192.6.1.17 netmask 255.255.255.0 up
Next, to test and verify that the flag setting is UP and the correct IP address is displayed, enter
ifconfig interface. For example:
ifconfig lan1<UP,BROADCAST,RUNNING,MULTICAST,CKO>
If the IP and flags are correct, verify there is an entry for the card interface in /etc/
rc.config.d/netconf. If so, perform the network-level tests (“Flowchart 3: Network-level
tests” (page 43)). Otherwise, add the correct interface parameters to
4.3 Diagnostic flowcharts 53