CentOS Network Card Configuration Summary
Download installed centos6.5, customized the type of Web server, began the CentOS trip, say why to give up Ubuntu, the reason is simpler, Ubuntu after all is a personal use more appropriate, server level or red hat and so on better, Ubuntu Graphics Interface optimization is also Linux ah, entertainment can not be compared with Windows, and then, Linux uses a graphical interface, but also the impact of learning.
Analyze problems
After installing the system, first make sure that my virtual machine can not connect to the CentOS, and then through the ifconfig to determine IP
It is found that there are no eth0 or eth1 such as NIC.
Through their own simple analysis and network search and consult the group of large, judged as the problem of network cards.
Solve the problem
First, you need to change the configuration of the network card to bridge.
In this way, the IP in the virtual machine and the native IP are separated.
Then modify the profile of the/etc/sysconfig/network-scripts//ifcfg-eth0 network adapter
The following post the modified.
The reason for this eth1 is that the network NIC is the second wireless card
From the Windows ipconfig, this machine IP is 192.168.1.108, so our CentOS can not be consistent with this.
Then, restart the network service.
Service Network Restart
And then you can ping it!