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

Source: Internet
Author: User

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

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.