Tutorial
There is a Ping program built into
Windows 98 that is run from the DOS prompt.
It has the following format:
C:\>ping

To ping a host you must type the following at the dos prompt:
C:\>ping [hostname]

The resulting output shows us:
| the host DNS (if available) | - frankzappa.sia.net.au |
| the host IP address | - [203.63.47.244] |
| the number of bytes sent | - 32 bytes of data |
| - number of bytes sent |
| - the time it took in milliseconds |
| - and the Time To Live |
| - the IP address |
| - number of packets sent |
| - number of packets received |
| - number of packets lost |
| - and the percentage lost |
| - approximate minimum round trip in milliseconds |
| - approximate maximum round trip in milliseconds |
This is the standard default format for this Ping program and for this instance shows that the host was contactable and took an average of 155 milliseconds to reply.
There are three alternatives to the number of pings purformed:
C:\>ping -n [count] [hostname]

The options provided with this program can be used to obtain other information.
C:\>ping -a [IP address]

Ping can also record the route as follows:
C:\>ping -r [count] [hostname]

This ping was set
to show 3 hops but only shows 1 hop.
This is because the host and the server are on the same
connection so that no hop was required.
The next screen shows a different host within the internet being
pinged and the associated routes.
The -n count option was used to provide 1 ping only.
C:\>ping -n [count] -r [count]
