What command is used to test communications with another machine on the network?

Was this article helpful?   Yes     No | 4 people found this helpful in last 30 days

Ping is a network administration utility or tool used to test connectivity on an Internet Protocol (IP) network. It also measures the latency or delay between two computers.


To test network connectivity with ping:

Open the Command Prompt or Terminal. Every operating system has a command line interface that will allow you to run the Ping command. The Ping command operates virtually identically on all systems.

  • If using Windows, open the Command Prompt. Click the Start button and enter "cmd" into the Search field. Windows 8 users can type "cmd" while on the Start screen. Press Enter to launch the Command Prompt.
  • If using Mac OS X, open the Terminal. Open your Applications folder, and then open the Utilities folder. Select Terminal.
  • If using Linux, Open a Telnet/Terminal window. It is most often found in the Accessories folder in your Applications directory.

Type ping followed by an IP address or a website address then press Enter key to execute the command. Here is a brief explanation of commonly used ping commands:

  • ping 127.0.0.1 (This is a "loopback ping" - your computer trying to talk to itself. If the loopback step fails, it might be because the TCP drivers are corrupted, the network adapter might not be working, or another service is interfering with IP.)
  • ping (This will ping the IP address of a device like a local computer, remote server or any client that receives an IP address to verify that it is reachable and that you can communicate with it properly.) Example: ping 192.168.1.1 (this is the default IP address of NETGEAR routers)
  • ping (This command will test for the Internet connectivity and DNS functionality.) Example: ping www.netgear.com, ping google.com

Here is a screenshot of a successful ping test:

What command is used to test communications with another machine on the network?

The first arrow shows the computer we are trying to reach is responding. The DNS address "www.netgear.com" is displayed into the equivalent 54.187.xx.yy IP address. This also shows that the computer is online and it has Internet access.

The second arrow shows that all of the sent packets are received showing that there is 0% loss. This means that the connection is available and stable.

The third arrow shows the average time it took to answer. "Average = 173ms".  In this example, the website server is several time zones away. A ping reply for a PC/ Server on the same local network should be 1-10 milliseconds.


Unsuccessful ping replies:

Request timed out
This message indicates that no Reply messages were received within the default time of 1 second. This can be due to many different causes; the most common include network congestion, failure of the ARP request, packet filtering, routing error, or a silent discard. Most often, it means that a route back to the sending host has failed. This might be because the destination host does not know the route back to the sending host, or one of the intermediary routers does not know the route back, or even that the destination host's default gateway does not know the route back. Check the routing table of the destination host to see whether it has a route to the sending host before checking tables at the routers.

Unknown host
This error message indicates that the requested host name cannot be resolved to its IP address; check that the name is entered correctly and that the DNS servers can resolve it.

Destination host unreachable
This message indicates one of two problems: either the local system has no route to the desired destination, or a remote router reports that it has no route to the destination. The two problems can be distinguished by the form of the message. If the message is simply "Destination Host Unreachable," then there is no route from the local system, and the packets to be sent were never put on the wire. Use the Route utility to check the local routing table.
If the message is "Reply From < IP address >: Destination Host Unreachable," then the routing problem occurred at a remote router, whose address is indicated by the "< IP address >" field. Use the appropriate utility or facility to check the IP routing table of the router assigned the IP address of < IP address >.

If you pinged using an IP address, retry it with a host name to ensure that the IP address you tried is correct.

Last Updated:11/28/2016 | Article ID: 989

Was this article helpful?

Yes No

This article applies to:

  • Adapters Legacy (22)
    • EA101
    • EA201
    • FA101
    • FA120
    • FA310
    • FA310TX
    • FA311v1
    • FA311v2
    • FA312
    • FA410
    • FA410TX
    • FA411
    • FA510
    • FA511
    • GA302T
    • GA311
    • GA511
    • GA620
    • GA621
    • GA622T
    • TA612V
    • TA612VSP
  • Wireless G Adapter and Older (35)
    • HA311
    • HA501
    • MA101
    • MA111v1
    • MA111v2
    • MA301
    • MA311
    • MA401
    • MA521
    • MA701
    • WA301
    • WAB501
    • WAG311
    • WAG511
    • WAG511v2
    • WE102
    • WG111T
    • WG111U
    • WG111v1
    • WG111v2
    • WG111v3
    • WG121
    • WG311T
    • WG311v1
    • WG311v2
    • WG311v3
    • WG511A
    • WG511T
    • WG511TA
    • WG511U
    • WG511v1
    • WG511v2
    • WGE101
    • WGE111
    • WGM511
  • Wireless N Adapter (15)
    • WN111v1
    • WN111v2
    • WN121T
    • WN311B
    • WN311T
    • WN511B
    • WN511T
    • WNDA3100v1
    • WNDA3100v2
    • WNDA3100v3
    • WPN111
    • WPN311
    • WPN511
    • WPNT121
    • WPNT511
  • Cable Modem & Gateway (17)
    • CG814M
    • CG814WG
    • CG814WGARM
    • CG814WGARMv2
    • CG814WGCHA
    • CG814WGCHAv2
    • CG814WGCOM
    • CG814WGCOMv2
    • CG814WGCX
    • CG814WGCXv2
    • CG814WGCXv3
    • CG814WGSTv3
    • CG814WGTWC
    • CG814WGTWCV1
    • CG814WGTWCv2
    • CG814WGTWv3
    • CM212
  • DSL Modem Legacy (25)
    • DG632
    • DG632B
    • DG814
    • DG824M
    • DG824MB
    • DG834B
    • DG834Bv2
    • DG834Bv3
    • DG834Bv4
    • DG834GB
    • DG834GBv2
    • DG834GBv3
    • DG834GBv4
    • DG834GBv5
    • DG834GSPv3
    • DG834Gv1
    • DG834Gv2
    • DG834Gv3
    • DG834Gv4
    • DG834Gv5
    • DG834v1
    • DG834v2
    • DG834v3
    • DG834v4
    • DM602
  • DSL Gateway G and older (5)
    • DG834GT
    • DG834GTB
    • DG834GVEN
    • DG834GVv1
    • DG834GVv2
  • DSL Gateway N Legacy (6)
    • DG834NB
    • DG834NBv2
    • DG834Nv1
    • DG834Nv2
    • DG834PN
    • DG834PNB
  • DSL Gateway N (2)
    • DGN2000
    • DGN2000B
  • DSL Modem (7)
    • DM111PB
    • DM111PBLv2
    • DM111PSP-2GTLAS
    • DM111PSPv1
    • DM111PSPv2
    • DM111Pv1
    • DM111Pv2
  • Wireless G Router (13)
    • KWGR614
    • WGM124
    • WGR101
    • WGR614L
    • WGT624SC
    • WGT624SCv3
    • WGT624v1
    • WGT624v2
    • WGT624v3
    • WGT624v3RV
    • WGT624v4
    • WGT634U
    • WGU624
  • Legacy Wireless Router (1)
    • MR314
  • Legacy Home Networking (15)
    • RH340
    • RH348
    • RM356
    • RO318
    • RP114
    • RP334
    • RP614v1
    • RP614v2
    • RP614v3
    • RP614v4
    • RT311
    • RT314
    • RT328
    • RT338
    • XM128
  • Wireless N Router (2)
    • WNDR3300v1
    • WNDR3300v2
  • Mobile Router (1)
    • MBM621
  • Wireless AC Adapter (1)
    • A7000
  • Wireless AXE Adapter (WiFi 6E) (1)
    • A8000
How to Find Your Model Number

Looking for more about your product?

Get information, documentation, videos and more for your specific product.

Need to Contact NETGEAR Support?

With NETGEAR’s round-the-clock premium support, help is just a phone call away.

Complimentary Support

NETGEAR provides complimentary technical support for NETGEAR products for 90 days from the original date of purchase.

Contact Support

NETGEAR Premium Support

GearHead Support for Home Users

GearHead Support is a technical support service for NETGEAR devices and all other connected devices in your home. Advanced remote support tools are used to fix issues on any of your devices. The service includes support for the following:

  • Desktop and Notebook PCs, Wired and Wireless Routers, Modems, Printers, Scanners, Fax Machines, USB devices and Sound Cards
  • Windows Operating Systems (2000, XP or Vista), MS Word, Excel, PowerPoint, Outlook and Adobe Acrobat
  • Anti-virus and Anti-Spyware: McAfee, Norton, AVG, eTrust and BitDefender

Learn More

ProSUPPORT Services for Business Users

NETGEAR ProSUPPORT services are available to supplement your technical support and warranty entitlements. NETGEAR offers a variety of ProSUPPORT services that allow you to access NETGEAR's expertise in a way that best meets your needs:

  • Product Installation
  • Professional Wireless Site Survey
  • Defective Drive Retention (DDR) Service

Learn More

Which command is used to test the network communication between two devices?

Traceroute – The traceroute command is used to determine the path between two connections. Often a connection to another device will have to go through multiple routers. The traceroute command will return the names or IP addresses of all the routers between two devices.

Which command is used to check if another computer is on a connected network?

Ping. Ping is used to testing a network host capacity to interact with another host. Just enter the command Ping, followed by the target host's name or IP address. The ping utilities seem to be the most common network tool.

What is the command to test network connection?

How to run a ping network test.
Type “cmd” to bring up the Command Prompt..
Open the Command Prompt..
Type “ping” in the black box and hit the space bar..
Type the IP address you'd like to ping (e.g., 192. XXX. X.X)..
Review the ping results displayed..

What command can be used to test connectivity to another device on the network or a website on the Internet?

Ping Command Prompt To use the ping command you go to the command line. On Windows (XP,7) – Start Menu>Run and enter cmd to open a command prompt. On Windows 10 type cmd into the search box and select the cmd prompt from the displayed programs. You can use the ping cmd with an IP address or the computer/host name.