VMware-A solution that does not connect to the network after installing CentOS6.5

Source: Internet
Author: User
Reprint please indicate the source: http://blog.csdn.net/l1028386804/article/details/47174371

VMware is a virtual machine, supporting a variety of popular systems, we can install other systems in the VMware virtual machine to meet individual needs, but after installing CentOS6.5 for VMware, unable to connect to the network, this is what caused it. Here is a description of the next VMware CentOS6.5 can not connect to the network solution. main reasons:

The eth0 file is configured with an incorrect address. The correct configuration method is as follows: 1. Set up virtual network card

Make sure that the virtual NIC (VMware network Adapter VMnet8) is turned on and then loses in Windows command line

In "ipconfig", locate the IPv4 address of the VMware network Adapter VMnet8 for example: 192.168.106.1)
2. See if the CentOS network configuration in the virtual machine is Nat

3. Modify the/etc/sysconfig/network-scprits/ifcfg-eth0 file

Broadcast IP values are consistent with the IP in VMNET8 and the last one must be 255

The IP value of the IPADDR is consistent with the IP in VMNET8 and the last arbitrary value must be 1~255

Getway IP values are consistent with the IP in VMNET8 and the last one is 2

eg:

My native IP is 192.168.106.1, and the correct configuration is:

broadcast=192.168.106.255

ipaddr=192.168.106.1

gateway=192.168.106.2 4. Restart Network Services

When you are finished configuring, enter the command "service network restart" To restart the network service. 5. Through the "ping" command to see if the network can be.

The above is the CentOS6.5 of VMware can not connect the network solution Introduction, if you also encountered the same problem, may wish to try to use the method described in this article to resolve the eth0 file to reconfigure.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.