


_O_n_l_i_n_e _M_a_n_u_a_l        System Manager Commands              ping(8)



NNNNAAAAMMMMEEEE
     ping - send ICMP ECHO_REQUEST packets to network hosts

SSSSYYYYNNNNTTTTAAAAXXXX
     ////eeeettttcccc////ppppiiiinnnngggg [ ----rrrr ] [ ----vvvv ] _h_o_s_t [ _p_a_c_k_e_t_s_i_z_e ] [ _c_o_u_n_t ]

DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
     The DARPA Internet is a large and complex aggregation of
     network hardware, connected together by gateways.  Tracking
     a single-point hardware or software failure can often be
     difficult.  _P_i_n_g utilizes the ICMP protocol's mandatory
     ECHO_REQUEST datagram to elicit an ICMP ECHO_RESPONSE from a
     host or gateway.  ECHO_REQUEST datagrams (``pings'') have an
     IP and ICMP header, followed by a ssssttttrrrruuuucccctttt ttttiiiimmmmeeeevvvvaaaallll, and then
     an arbitrary number of ``pad'' bytes used to fill out the
     packet.  Default datagram length is 64 bytes, but this may
     be changed using the command-line option.  Other options
     are:

     ----rrrr   Bypass the normal routing tables and send directly to a
          host on an attached network.  If the host is not on a
          directly-attached network, an error is returned.  This
          option can be used to ping a local host through an
          interface that has no route through it (e.g., after the
          interface was dropped by _r_o_u_t_e_d(8c)).

     ----vvvv   Verbose output.  ICMP packets other than ECHO_RESPONSE
          that are received are listed.

     When using _p_i_n_g for fault isolation, it should first be run
     on the local host, to verify that the local network inter-
     face is up and running.  Then, hosts and gateways further
     and further away should be ``pinged''.  _P_i_n_g sends one
     datagram per second, and prints one line of output for every
     ECHO_RESPONSE returned.  No output is produced if there is
     no response.  If an optional _c_o_u_n_t is given, only that
     number of requests is sent.  Round-trip times and packet
     loss statistics are computed.  When all responses have been
     received or the program times out (with a _c_o_u_n_t specified),
     or if the program is terminated with a SIGINT, a brief sum-
     mary is displayed.

     This program is intended for use in network testing, meas-
     urement and management.  It should be used primarily for
     manual fault isolation.  Because of the load it could impose
     on the network, it is unwise to use _p_i_n_g during normal
     operations or from automated scripts.

AAAAUUUUTTTTHHHHOOOORRRR
     Mike Muuss

SSSSEEEEEEEE AAAALLLLSSSSOOOO
     User Commands (1): netstat
     System Manager Commands (8): ifconfig

December 1989                      TX System Manager's Reference



