CentOS 6.0 Network card Problem summary

Source: Internet
Author: User
Tags centos

Eth0 the missing treatment.

1. Just started to run ifconfig Eth0 found the NIC is missing.

[Root@localhost ~]# ifconfig eth0

Eth0:error fetching interface Information:device not found//But network-scripts the configuration files are all eth0, why not to get and do not know why?

The processing workaround can only replace eth0 with eth1, and create modprobe.conf files inside the alias Eth0 e1000e but not recognized.

2.[root@localhost network-scripts]# Mii-tool//view NIC connection status

eth1:negotiated 100basetx-fd, link ok

3.[root@localhost network-scripts]# ifconfig eth1//can find eth1 network card

4.[root@localhost network-scripts]# MV Ifcfg-eth0 ifcfg-eth1//modified eth0 for eth1

5.[root@localhost network-scripts]# VI ifcfg-eth1

device=eth1//eth1 modified to Eth0

onboot=yes//Start activation

Type=ethernet

bootproto=static//Static IP

ipaddr=192.168.xx.40

netmask=255.255.255.0

gateway=192.168.xx.254

Related Article

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.