
Eicon Connections for Linux User’s Guide
page 51
Testing Sys-1/Sys-2 Communications
The two systems are now ready to exchange IP datagrams over the X.25, Frame Relay, or PPP
link that connects them together. The TCP/IP ping utility provides a convenient way of doing
this.
The ping utility provides real network traffic by means of ICMP Echo Requests. It transmits
datagrams from one system to another system identified by the specified IP address. Reply
datagrams contain items such as a sequence number, the number of datagrams sent so far,
and the round-trip time for each datagram. The sequence number indicates the datagram to
which a reply corresponds.
The reply from the other system fits on a single line, and a new reply line is displayed once
every few seconds. You can use the interrupt key (Ctrl-Break or Delete) to terminate ping
at any time, or you can specify the number of datagrams to be sent on the ping command
line. When ping terminates, several summary statistic lines are displayed.
Run ping on Sys-1 as shown below. A sample of the statistical information displayed by ping
is also included. The IP address of Sys-2 is included on the ping command line, indicating the
system with which the communications are to occur.
[Sys-1]# ping 192.1.100.2
PING 192.1.100.2: 56 data bytes
64 bytes from 192.1.100.2: icmp_seq=0. time=125. ms
64 bytes from 192.1.100.2: icmp_seq=1. time=105. ms
64 bytes from 192.1.100.2: icmp_seq=2. time=110. ms
64 bytes from 192.1.100.2: icmp_seq=3. time=105. ms
64 bytes from 192.1.100.2: icmp_seq=4. time=105. ms
64 bytes from 192.1.100.2: icmp_seq=5. time=115. ms
64 bytes from 192.1.100.2: icmp_seq=6. time=110. ms
64 bytes from 192.1.100.2: icmp_seq=7. time=110. ms
64 bytes from 192.1.100.2: icmp_seq=8. time=105. ms
64 bytes from 192.1.100.2: icmp_seq=9. time=110. ms
64 bytes from 192.1.100.2: icmp_seq=10. time=115. ms
64 bytes from 192.1.100.2: icmp_seq=11. time=115. ms
64 bytes from 192.1.100.2: icmp_seq=12. time=110. ms
64 bytes from 192.1.100.2: icmp_seq=13. time=110. ms
----192.1.100.2 PING Statistics----
14 packets transmitted, 14 packets received, 0% packet loss
round-trip (ms) min/avg/max = 103/114/125
In this example, the interrupt key (e.g., Ctrl-Break or Delete) was pressed after 14
datagrams were sent. The ping utility then displayed the summary statistics and halted. The
term “packet” used on the summary lines at the end of the sample ping display is equivalent
to the term “datagram” as in “IP datagram.”
You can also run ping on Sys-2 to show a more realistic traffic pattern, with the two systems
simultaneously communicating with each other. You can continue adding Eiconcard Routing
Services systems and running ping as desired.
Commentaires sur ces manuels