CentOS 6.4 system restart network service troubleshooting

Source: Internet
Author: User

Error message:

Bringing up interface eth1: Error: No suitable device found: no device found for connection 'System eth1 '.
123456 [root @ CentOS network-scripts] #/etc/init. d/network restart
Shutting down loopback interface: [OK]
Bringing up loopback interface: [OK]
Bringing up interface eth1: Error: No suitable device found: no device found for connection 'System eth1 '.
[FAILED]
[Root @ centos network-scripts] #

Solution:

You can use ifconfig-a to check whether eth1 is displayed, but eth0 is displayed under the/etc/system/network-scripts/directory, the solution is to rename eth0 to eth1 in the directory, and modify the NIC address if it is a virtual machine.
[Root @ centos network-scripts] # ifconfig-
Eth1 Link encap: Ethernet HWaddr 08: 00: 27: 5C: 4A: F6
Inet addr: 2.2.2.177 Bcast: 2.2.2.255 Mask: 255.255.255.0
Inet6 addr: fe80: a00: 27ff: fe5c: 4af6/64 Scope: Link
Up broadcast running multicast mtu: 1500 Metric: 1
RX packets: 72479 errors: 0 dropped: 0 overruns: 0 frame: 0
TX packets: 36533 errors: 0 dropped: 0 overruns: 0 carrier: 0
Collisions: 0 FIG: 1000
RX bytes: 5311979 (5.0 MiB) TX bytes: 26144482 (24.9 MiB)
[Root @ centos network-scripts] # cp-a ifcfg-eth0 ifcfg-eth1
[Root @ centos network-scripts] # vim/etc/udev/rules. d/70-persistent-net.rules -- view the NIC address
[Root @ centos network-scripts] # rm-rf ifcfg-eth0 -- if it is a virtual machine, you need to modify the NIC address
[Root @ centos ~] #/Etc/init. d/network restart -- restart successful
Shutting down loopback interface: [OK]
Bringing up loopback interface: [OK]
Bringing up interface eth1: Active connection state: activated
Active connection path:/org/freedesktop/NetworkManager/ActiveConnection/1
[OK]
[Root @ centos ~] #

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.