Host cannot ping virtual machine, bridging mode.

  linux, question

In bridging mode, the virtual machine can ping the host computer, but now the host computer cannot ping the virtual machine, but occasionally, others can ping on the LAN.

The problem was solved because of the network configuration problem of the virtual machine. Check the address information with config -a and find that the Mac corresponding to the eh0 gateway is the previous eh0. Modify the configuration file and restart the network configuration.