VMware is a virtual machine, supporting a variety of popular systems. We can install other systems in VMware virtual machine to meet personal needs, but after installing centos6.5 for VMware, we can’t connect to the network. What’s the reason? Here is a brief introduction to the solution of centos6.5 unable to connect to the network in VMware.
The eth0 file has an incorrect address configured.
The correct configuration method is as follows:
1. Make sure that the VMware network adapter (VMnet8) is turned on, and then enter it in the command line of windows
Enter “ipconfig” to find the IPv4 address of VMware network adapter VMnet8 (for example: 192.168.78.1)
2. Check whether the network configuration of CentOS in the virtual machine is NAT
3. Modify the / etc / sysconfig / network-scprints / eth0 file
The IP value of broadcast should be consistent with that of VMnet8, and the last bit must be 255
The IP value of IPADDR should be consistent with that of VMnet8, and the last bit must be any value from 1 to 255
The IP value of Getway should be consistent with that of VMnet8, and the last bit should be 2
The IP of my machine is 192.168.78.1, so the correct configuration is as follows:
4. After configuration, please enter the command “service network restart” to restart the network service.
5. Use the “Ping” command to see if it can be connected to the Internet.
The above is the solution of centos6.5 unable to connect to the network in VMware. If you also encounter the same problem, you may as well try to use the method described in this article to solve it and reconfigure the eth0 file.