Ping command normally used for troubleshooting, it help to check whether the destination host is reachable or not. If the ping timeout period expires then “host unreachable host” message will be shown on command line.
Following are some essential uses of Ping command
• Ping your computer to identify whether TCP/IP suite is working properly.
• Ping directly connected computer or router.
• Ping beyond your computer.
The following table shows some useful ping command options.
Typing this command in run dialog box verifies whether TCP/IP suite is working or not.
Output of pinging the loopback address shows the active status, so after checking the basic step move further to check the directly connected computer or router.
Type the ping command and destination address.
Figure-4 show the reply with the default size of ping packet (32-bytes) response time in milliseconds and TTL. The default size of ping packet is 32-byte but it can be changes using the “-lSize” parameter in ping command.
Ping packet size is changes from 32 bytes to 1450 bytes.
As a result of previous command the size is change to 1450 as a shown in the figure-8.
“-w (time in millisecond)” parameter in ping command modifies the timeout from 1000 millisecond which is default to 2000 millisecond.
“-a” argument in ping command resolve the name of host.
Figure-10 show the host name of given IP address.