I've been depressed for a long time. I can't access the Internet when I use VMWare to install a virtual machine. It is reasonable to choose bridging to be the easiest. All kinds of Baidu always fail.
Suddenly this problem was solved today.
Pre
-
VMware® Workstation 12 Pro
-
CentOS-7-x86_64-DVD-1708
-
Windows10
-
Evil Great Wall Broadband
Windows network card settings
I use the WiFi network card to access the router's subnet
-
Control Panel -- Network and Internet -- Network Connections
-
Right-click the WLAN network card, confirm the installation in properties and check VMware Bridge Protocol
VMWare Network Settings
-
Edit -- Virtual Network Editor
-
Change settings at bottom right
-
You can restore default settings
-
The bridge mode item, VMnet0, choose to bridge to your own wireless network card
-
Virtual machine settings, network adapters, select bridge mode
Virtual machine settings
/etc/sysconfig/network-scripts
, modify the corresponding network card file
DNS1=8.8.8.8
IPADDR=192.168.3.24
GATEWAY=192.168.3.1
NETMASK=255.255.255.0