Ping does not work because the setting of the network options, you can see the interface name is selected as follows (currently selected is the wireless card driver):
The case of Ping is due to the setting of the network options, you can see the interface name is selected as follows (currently selected is the wired network card driver):
The reason is because the computer has two network card driver, one is a wired network card, the other is a wireless network card, I am currently on the Internet is wired to connect to the Internet, so when the choice of wireless network card driver when the ping does not pass the Linux virtual machine. If you switch to a wireless internet connection, it is possible to switch to a wireless network card. Remember!
Analyze one of the scenarios where the Windows host ping does not pass through a Linux virtual machine