In linux, the virtual machine cannot ping the host

1: First of all, what is the network connection method of your virtual machine. Bridging and NAT are different, and the IP addresses are different. Since you said that you can ping the external gateway, it means that the virtual network card of your host should be fine.

2: Turn off the firewall.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326307628&siteId=291194637