21.02.2013 Views

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3. If there is a default route, attempt to ping it.<br />

# ping 9.3.240.1<br />

PING 9.3.240.1: (9.3.240.1): 56 data bytes<br />

64 bytes from 9.3.240.1: icmp_seq=0 ttl=64 time=1 ms<br />

64 bytes from 9.3.240.1: icmp_seq=1 ttl=64 time=0 ms<br />

^C<br />

----9.3.240.1 PING Statistics----<br />

2 packets transmitted, 2 packets received, 0% packet loss<br />

round-trip min/avg/max = 0/0/1 ms<br />

The ping -c command will limit the number of pings to the value specified<br />

after the -c flag.<br />

# ping -c 1 server2<br />

PING server2.itsc.austin.ibm.com: (9.3.240.57): 56 data bytes<br />

64 bytes from 9.3.240.57: icmp_seq=0 ttl=255 time=0 ms<br />

----server2.itsc.austin.ibm.com PING Statistics----<br />

1 packets transmitted, 1 packets received, 0% packet loss<br />

round-trip min/avg/max = 0/0/0 ms<br />

# export NSORDER=local,bind,nis<br />

# ping -c 1 server2<br />

PING server2: (9.3.240.57): 56 data bytes<br />

64 bytes from 9.3.240.57: icmp_seq=0 ttl=255 time=0 ms<br />

----server2 PING Statistics----<br />

1 packets transmitted, 1 packets received, 0% packet loss<br />

round-trip min/avg/max = 0/0/0 ms<br />

4. If you have more than one network interface, attempt to determine if any<br />

interfaces are working.<br />

If you cannot ping your default route, either the default gateway is down, or your<br />

local network connection may be down. Attempt to ping all of the gateways listed<br />

in the routing table to see if any portion of your network is functioning.<br />

If you cannot ping any host or router interface from among those listed in the<br />

routing table, try to ping your loopback interface lo0 with the following command:<br />

# ping localhost<br />

PING localhost: (127.0.0.1): 56 data bytes<br />

64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=1 ms<br />

^C<br />

----localhost PING Statistics----<br />

1 packets transmitted, 1 packets received, 0% packet loss<br />

round-trip min/avg/max = 1/1/1 ms<br />

If the ping is successful, you have an adapter or network hardware problem or a<br />

routing problem. The ping -f (flood ping) command outputs packets as fast as<br />

they come back or one hundred times per second, whichever is more. The<br />

182 <strong>IBM</strong> ^ Certification Study Guide - <strong>AIX</strong> <strong>5L</strong> <strong>Problem</strong> <strong>Determination</strong> Tools and Techniques

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!