I built multiple virtual machines. When I used them, part of the network of virtual machines was not working.
I don't know why.
For example, I have a and B two virtual machines. They are all connected to the same virtual switch, which is default by network settings. But B can not access the network, DHCP client can not deliver messages, router can not receive DHCP requests, and manually fill in the IP invalid
I restart the virtual machine, the fault is still. I can only get rid of a physical computer failure by restarting it, but it's only temporary, and when I run the new virtual machine it may fail again
I need to solve this problem, and I want to know how to test the network of virtual switches and virtual machines.