Mainly refer to the following two blog articles
1. VMware configures the network in 3 ways: NAT, Host-Only, Bridged
https://blog.csdn.net/u014726937/article/details/52768463
At this point the virtual machine is configured as follows
2. Refer to the above blog content after configuration
The inner ring suggested by ping Baidu these websites is unknown host www.baidu.com
3. After some tossing, I found the article of this blog
https://blog.csdn.net/u011514201/article/details/52404423
The reason is finally found. After the modification, the virtual machine can be connected to the Internet normally. Thanks to the blogs of the great gods
If there is any infringement, please notify to delete! thanks
In CentOS, the uuid information of the network card can be obtained by the following command:
[root@ligle2 ~]# uuidgen eth0
07d07031-eb0f-4691-8606-befb46645433