Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Testing network connectivity with the ping command on a Mac (1020983)

Last Updated: 3/4/2021Categories: InformationalTotal Views: 121801Language:
Chinese (Simplified)Portuguese (Brazil)JapaneseSpanishEnglish

338 like this article

Subscribe to get an email
newsletter with new updates

338 people found this helpful Please provide article feedback:

Purpose

For troubleshooting purposes, it may be necessary to test network connectivity between different components of your network or between the Mac and the virtual machine. This article provides you with the steps to perform a preliminary test on your network from your Mac.

Resolution

The command ping is used to test whether your computer can communicate with another device (computer/server/printer) connected to your network or the internet.

To initiate a ping test in Mac OS X:

Open Terminal by navigating to /Applications/Utilities.

In the Terminal window type ping <server> , where <server> is the hostname or IP address of the server that you want to ping. The command should look like this:

ping www.vmware.com

or

ping 192.168.x.x

Press Enter.

A successful ping response is similar to the following:

[root@server]$ ping myservername
PING myservername (10.0.0.1) 56(84) bytes of data.
64 bytes from myservername (10.0.0.1): icmp_seq=0 ttl=64 time=0.025 ms
64 bytes from myservername (10.0.0.1): icmp_seq=1 ttl=64 time=0.029 ms
64 bytes from myservername (10.0.0.1): icmp_seq=2 ttl=64 time=0.032 ms
64 bytes from myservername (10.0.0.1): icmp_seq=3 ttl=64 time=0.028 ms

--- server ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3092ms
rtt min/avg/max/mdev = 0.025/0.028/0.032/0.005 ms, pipe 2
[root@server]$

The successful response has a few notable elements:

repeating lines showing that bytes were sent, and the time the trip took (in milliseconds (ms)).

Statistics that the packets transmitted were also received, with minimal to no packet loss

NOTE: The default ping count in Mac OS X is not set. However, if you want to change its default count to set number, use the command below.

ping -c [count]<space>[IP address or Hostname]

An unsuccessful ping response is similar to the following:

[root@server]$ ping myservername
PING myservername (10.0.0.1) 56(84) bytes of data.

--- server ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3017ms

[root@server]$

The unsuccessful response is determined by the following::

no response from the remote server, after sending the command

Statistics that no packets were transmitted were received, with complete packet loss

To stop the ping, after seeing enough results, press Ctrl + C.

Note: If you do not see a response when pinging by the hostname of the server, initiate a ping to the IP address. Initiating a ping to the IP address instead allows you to determine if the problem is a result of an issue with hostname resolution.

Related Information

For more information on ping, hostname resolution, and network connectivity, see Operating system networking references and tutorials (1010144).

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)Portuguese (Brazil)JapaneseSpanishEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-2 of 2

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware Fusion Pro

VMware Fusion

Related Versions:

VMware Fusion Pro 8.x

VMware Fusion Pro 12.x

VMware Fusion Pro 11.x

VMware Fusion Pro 10.x

VMware Fusion 8.x

VMware Fusion 11.x

VMware Fusion 10.x

Take Our Survey

Support Assistant