Solution to CentOS Nic restart failure

Source: Internet
Author: User

Solution to CentOS Nic restart failure
Check whether the networking settings are correct

Command: ip addr

Disable Network Management in configuration

Command: chkconfig NetworkManager off

Enable Network Management in configuration

Command: chkconfig network on

Disable Network Management in the service

Command: service NetworkManager stop

Enable Network Management in the service
Command: service network start
In the last step, when servic network start fails, the Job for network. service failed is generated.

Required: cd/etc/init. d or/etc/rc. d/init. d And./network restart.

Cd/etc/sysconfig/network-scripts

TYPE = Ethernet
BOOTPROTO = dhcp
DEFROUTE = yes
20174_failure_fatal = no
IPV6INIT = yes
IPV6_AUTOCONF = yes
Required 6_defroute = yes
20176_failure_fatal = no
NAME = eno16777736
UUID = a86e457b-a525-4f2c-bc6a-49071c7d588d
DEVICE = eno16777736
ONBOOT = yes
PEERDNS = yes
PEERROUTES = yes
IPV6_PEERDNS = yes
20176_peerroutes = yes

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.