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