PING COMMAND in Windows

The Ping Command in Windows

CHUONG K. NGUYEN – BSc., MCSEx2, MCSAx2, MCP, MCTS, MCITP, CCNA

We can use the ping command to check connectivity. For example,:

ping 8.8.8.8

021619_1209_PINGCOMMAND1.png

The -a option will resolve the IP address into the host name.  For example:

C:\Users\User>ping -a 8.8.8.8
Pinging google-public-dns-a.google.com [8.8.8.8] with 32 bytes of data:
Reply from 8.8.8.8: bytes=32 time=11ms TTL=122
Reply from 8.8.8.8: bytes=32 time=19ms TTL=122
Reply from 8.8.8.8: bytes=32 time=13ms TTL=122
Reply from 8.8.8.8: bytes=32 time=18ms TTL=122

The –t option will keep the ping to go on: ping –t 8.8.8.8

021619_1209_PINGCOMMAND2.png

To send more than 32 bytes of data, for example 1024 bytes, we do: ping –l 1024 8.8.8.8

021619_1209_PINGCOMMAND3.png

To send more than 4 counts, use: ping –n 7 8.8.8.8

021619_1209_PINGCOMMAND4.png

There are many other options that I suggest you to check them out. Use this command to check:

ping /?

I hope that this article has been informative in that it helps you to troubleshoot your network with this most basic networking command.