Chapter 2 121
Programming Fundamentals
Using the LAN to Control the Analyzer
On a single-client/single-server network, the most likely cause of
intermittent response to an echo request is a hardware problem with
the LAN module installed in the PC, the cable, or the analyzer. To
check the analyzer, refer to "Verify the Analyzer Performance" later
in this chapter.
The Standard UNIX PING Command
Synopsis ping [-r] [-v] [-o]
host [packetsize] [count]
Description The ping command sends an echo request packet to the host
once per second. Each echo response packet that is returned is listed on the
screen, along with the round-trip time of the echo request and echo response.
Options and Parameters -r Bypasses the routing tables, and sends the
request directly to the host.
-v Reports all packets that are received, including the response
packets.
-o Requests information about the network paths taken by the
requests and responses.
host The host name or IP address.
packetsize The size of each packet (8 bytes - 4096 bytes).
count The number of packets to send before ending ping (1-(2
31
-1)).
If count is not specified, ping sends packets until
interrupted.
EIA/TIA 568B Wiring Information
Table 2-2 Straight-Through Cable (Unshielded-twisted-pair (UTP) cable
with RJ-45 connectors)
Standard, Straight-Through Wiring (each end)
Signal Name RJ-45 Pin # Wire Color Pair #
RX+ 1 white/orange 2
RX- 2 orange
TX+ 3 white/green 3
TX- 6 green
Not
Used
4 blue 1
5 white/blue
7 white/brown 4
8 brown