Unable to ping from VM's to host machine
In Windows 7 (also the case in Windows 8/10) by default the Windows Firewall is set to block ping requests. To be able to ping your host from one of your virtual machines--or anywhere else on your LAN, for that matter--you will need to either disable the firewall or enable the firewall rule that allows ping requests. To set the firewall rule to allow ping requests in Windows 7 do the following:
- Click on the Start Menu
- Go to Control Panel
- Open Windows Firewall
- Open Advanced Settings
- Select Inbound Rules over in the left window pane
- In the right window pane scroll down to File and Printer Sharing (Echo Request - ICMPv4-In). You will see two of these listed. The first one for enabling this rule to for a domain profile. The second one is for enabling this rule for public/private profile. Unless your PC is on a domain, select the second of these two rules.
- Right click your mouse on File and Printer Sharing (Echo Request - ICMPv4-In) Profile: Private, Public and select Enable Rule. --You will now be able to ping your host from either of your virtual machines.
Related videos on Youtube
Vishnu Rajendran
Updated on September 18, 2022Comments
-
Vishnu Rajendran over 1 year
I have started 2 VM's in VMware Workstation with the network connection as bridged.
Let's say the IP's of my VM's are 192.168.1.3 and 192.168.1.4.From these VM's I'm able to ping the internet e.g.: Google. From my host system (where VMware is running) I can ping to these VM's also. Let's say my host IP is 192.168.1.2.
However, from the VM's I'm not able to ping my host IP, there is no reponse or output but when I stop the ping using Ctrl+C, it gives the information below.
----192.168.1.2 ping statistics---- 704 packets transmitted, 0 received,100% packet loss,time 704557ms
Please help me resolve this issue.
-
Vishnu Rajendran almost 7 yearswow it worked...thanks for the detailed explanation.