CentOS after installation of the network card configuration

Source: Internet
Author: User

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!

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.