can't ping from mac host to windows guest in virtual box
13,620
Solution 1
I could solve this by following the steps below.
- Created a host-only adapter by going to setting of virtual machine as below
Check the first three decimal parts of windows 7 virtual machine ip address
ex : It is 192.168.56 in my case
- 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.
Now you should be able to ping guest windows 7 from host mac.
Solution 2
Check the network profile. In Windows 7 you have a firewall for each network profile.
- Control Panel -> System and Security -> Windows Firewall
Related videos on Youtube
Author by
lakshman
Updated on September 18, 2022Comments
-
lakshman over 1 year
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?
-
Kenster about 9 yearsWhat IP addresses do the host and guest have? What address are you actually trying to ping?
-
-
bertieb almost 9 yearsSince 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.