I am trying to ping to the windows 7 guest in virtual machine from mac host. but I get below message

ping: sendto: No route to host
Request timeout for icmp_seq 5

I set bridged-network in network setting and turned off firewalls in windows machine with no luck. I have installed yosemite in mac. Is there any reason for this?

  • What IP addresses do the host and guest have? What address are you actually trying to ping?
    – Kenster
    Mar 26, 2015 at 21:43

3 Answers 3


Check the network profile. In Windows 7 you have a firewall for each network profile.

  • Control Panel -> System and Security -> Windows Firewall
  • 2
    Since the OP mentioned he turned off firewalls, and since there is a No route to host reported; this suggestion would perhaps be better provided as a comment.
    – bertieb
    Aug 10, 2015 at 18:04

There are circumstances under which Windows 7 will not respond to a ping request.

These include:

From time to time there is an issue with Windows 7 computers in the network: they do not answer ping requests although everything seems properly configured and other clients in the same network work fine.

This is because only clients with activated “File and Printer Sharing” do answer ping requests by default.


At other times, they do not respond because the onboard security software does not allow for it as well (you can't hack what does't exist. Security through obscurity.)

There are times when configuration issues can cause performance issues which can manifest themselves as time out difficulties. These include setup of IPv6 and sub-par drivers.



Online computer not responding to pings


I could solve this by following the steps below.

  1. Created a host-only adapter by going to setting of virtual machine as below

windows 7 virtual machine virtual box settings

  1. Check the first three decimal parts of windows 7 virtual machine ip address

    ex : It is 192.168.56 in my case

enter image description here

  1. Go to virtual box -> Preferences -> Network. Select the host-only Networks tab. click the edit button. Change the first three decimal parts of IPv4 address of Adapter tab as in windows 7 virtual machine ip address.

edit settings of host-only adapter

Now you should be able to ping guest windows 7 from host mac.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.