Reprint Please specify source: http://blog.csdn.net/l1028386804/article/details/47174371
VMware is a virtual machine that supports a variety of popular systems, and we can install other systems in VMware virtual machines to meet individual needs, but what is the reason for the inability to connect to the network after installing CentOS6.5 for VMware? Here are some of the solutions that CentOS6.5 in VMware are unable to connect to the network.
main reasons:
The eth0 file is configured with an incorrect address.
The correct configuration method is as follows:1. Set up the virtual network card
Make sure that the Virtual network card (VMware network Adapter VMnet8) is turned on and then on the Windows command line
"Ipconfig" to find the IPv4 address of the VMware Network Adapter VMnet8 for example: 192.168.106.1)
2. See if the network configuration for CentOS in the virtual machine is NAT
3. Modify the/etc/sysconfig/network-scprits/eth0 file
The IP value of the broadcast is consistent with the IP in the VMNET8 and the last one must be 255
The IP value of the IPADDR is consistent with the IP in the VMNET8 and the last one must be an arbitrary value of 1~255
The IP value of the Getway is consistent with the IP in the VMNET8 and the last one is 2
eg
My native IP is 192.168.106.1, then the correct configuration is:
broadcast=192.168.106.255
ipaddr=192.168.106.1
getway=192.168.106.2
4. Restart the Network Service
After the configuration is complete, enter the command "service network restart" To restart the network service.
5. Use the "ping" command to see if the network is already available.
Above is the introduction of the solution that CentOS6.5 cannot connect to the network in VMware, if you also encounter the same problem, you may try to use the method described in this article to resolve, the eth0 file to reconfigure.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
VMware-A solution that cannot connect to the network after installing CentOS6.5