VMware bridging to solve DHCP can not automatically obtain IP

Using VMware to create a CentOS7.0 virtual machine, it hangs and restarts for a while, and it is found that the network cannot be connected and the ping gateway is different. After analysis, it was found that the local host host added a virtual machine Ethernet network card. After disabling the redundant network card, it is found that it can be obtained normally.

 

Reason: The virtual machine bridging will automatically allocate the existing local network card. Some local network cards cannot connect to the Internet, and the fixed virtual machine cannot access the Internet. If you use NAT, you need to enable VMnet8

Guess you like

Origin blog.csdn.net/Lixuanshengchao/article/details/82593933