What should I do if the CentOS 6.5 network in VMware is not connected?

  

VMware is a virtual machine that supports a variety of popular systems. We can install other systems in VMware virtual machines to meet individual needs, but after installing CentOS6.5 for VMware, we can't connect to the network. What is the reason? What caused it? The following small series will introduce you to the solution that VMware can not connect to the network in CentOS6.5.

Main reason:

The eth0 file is configured with an incorrect address.

The correct configuration method is as follows:

1. Make sure that the virtual network card (VMware Network Adapter VMnet8) is enabled, and then enter

in the Windows command line into “ipconfig&rdquo ; find VMware network Adapter ipv4 address VMnet8 example: 192.168.78.1)

2. View the virtual machine CentOS network configuration whether NAT

3. modify /etc/sysconfig/network-scprits/eth0 file

The IP value of BROADCAST should be consistent with the ip in VMNET8 and the last bit must be 255

The IP value of IPADDR should be in VMNET8. The ip is consistent and the last bit must be any value from 1 to 255

The IP value of GETWAY is the same as the ip in VMNET8 and the last bit is 2

eg:

My native ip is 192.168.78.1, then the correct configuration is:

BROADCAST=192.168.78.255

IPADDR=192.168.78.1

GETWAY= 192.168.78.2

4. After the configuration is complete, enter the command <quo;service network restart” to restart the network service.

5. See if you can connect to the network by using the <quo;ping” command.

The above is the introduction of the solution that VMware can not connect to the network in CentOS6.5. If you have encountered the same problem, you may try to solve the problem described in this article and reconfigure the eth0 file.

Copyright © Windows knowledge All Rights Reserved