Chapter 5: Using the Command Line Interface
Testing the Network Connectivity
This ping command sends the ICMP ECHO_REQUEST message to a
network host for checking its network connectivity. If the output shows
the host is responding properly, the network connectivity is good. If not,
either the host is shut down or it is not being properly connected to the
network.
Variables:
• <host> is the host name or IP address whose networking connectivity
you want to check.
Options:
• You can include any or all of additional options listed below in the
ping command.
count <number1> Determines the number of messages to be
sent. <number1> is an integer number
between 1 and 100.
size <number2> Determines the packet size. <number2> is an
integer number in bytes between 1 and
65468.
timeout <number3> Determines the waiting period before
timeout. <number3> is an integer number in
seconds ranging from 1 to 600.
The command looks like the following when it includes all options:
ping <host> count <number1> size <number2> timeout <number3>