beautypg.com

To check the ip routing, To check the protocol statistics – Sun Microsystems 1.0 User Manual

Page 63

background image

Troubleshooting and Diagnostics

37

5

To Check the IP Routing

1. Check the IP routing table using the

netstat(1M)

command:

2. Check that the FDDI subnetwork is featured in the routing table.

If the routing table is empty, check that the routing daemon (

in.routed

) is

running on your machine.

To Check the Protocol Statistics

Use

netstat(1M)

to check the per-protocol (IP, TCP, UDP, etc.) statistics

for errors:

% netstat —nr

# netstat -s

UDP

udpInDatagrams = 1423udpInErrors = 0

udpOutDatagrams = 540

TCP tcpRtoAlgorithm = 4tcpRtoMin = 200

tcpRtoMax = 60000tcpMaxConn = -1

tcpActiveOpens = 38tcpPassiveOpens = 1

tcpAttemptFails = 0tcpEstabResets = 33

tcpCurrEstab = 2tcpOutSegs = 427

tcpOutDataSegs = 264tcpOutDataBytes = 15917

tcpRetransSegs = 38tcpRetransBytes = 0

tcpOutAck = 143tcpOutAckDelayed = 56

tcpOutUrg = 1tcpOutWinUpdate = 0

tcpOutWinProbe = 0tcpOutControl = 111

tcpOutRsts = 36tcpOutFastRetrans = 0

tcpInSegs = 606

tcpInAckSegs = 292tcpInAckBytes = 15949

tcpInDupAck = 62tcpInAckUnsent = 0

tcpInInorderSegs = 311tcpInInorderBytes = 99169

tcpInUnorderSegs = 0tcpInUnorderBytes = 0

.

.

.