% netstat -i
Name Mtu Net/Dest Address Ipkts Ierrs Opkts Oerrs Collis Queue
dnet0 1500 wrotethebook.com crab 442697 2 633424 2 50679 0
lo0 1536 loopback localhost 53040 0 53040 0 0 0
The line for the loopback interface, lo0, can be ignored. Only the
line for the real network interface is significant, and only the last
five fields on that line provide significant troubleshooting
information.
Let's look at the last field first. There should be no packets
queued (Queue) that cannot be transmitted. If the interface is up and
running, and the system cannot deliver packets to the network,
suspect a bad drop cable or a bad interface. Replace the cable and
see if the problem goes away. If it doesn't, call the vendor
for interface hardware repairs.
The input errors (Ierrs) and the output errors (Oerrs) should be
close to 0. Regardless of how much traffic has passed through this
interface, 100 errors in either of these fields is high. High output
errors could indicate a saturated local network or a bad physical
connection between the host and the network. High input errors could
indicate that the network is saturated, the local host is overloaded,
or there is a physical network problem. Tools, such as
ping statistics or a cable tester, can help you
determine if it is a physical network problem. Evaluating the
collision rate can help you determine if the local Ethernet is
saturated.
A high value in the collision field (Collis) is normal, but if the
percentage of output packets that result in a collision is too high,
it indicates that the network is saturated. Collision rates greater
than 5% bear watching. If high collision rates are seen consistently,
and are seen among a broad sampling of systems on the network, you
may need to subdivide the network to reduce traffic load.
Collision rates are a percentage of output packets. Don't use
the total number of packets sent and received; use the values in the
Opkts and Collis fields when determining the collision rate. For
example, the output in the netstat example shows
50679 collisions out of 633424 outgoing packets. That's a
collision rate of 8%. This sample network could be overworked; check
the statistics on other hosts on this network. If the other systems
also show a high collision rate, consider subdividing this network.