http://blog.csdn.net/johnnycode/article/details/40624403
Http://serverfault.com/questions/660210/cant-start-centos-7-network-service
http://ephrain.pixnet.net/blog/post/61648414-%5blinux%5d-%e8%a7%a3%e6%b1%ba-centos7-%e4%b8%8a-network-service- %e7%84%a1%e6%b3%95%e5%95%9f%e5%8b%95%e7%9a%84
Use Clone's VirtualBox image to modify static IP error after startup.
After checking, the correct MAC address needs to be corrected, hwaddr a line, and then reboot:
Vi/etc/sysconfig/network-scripts/ifcfg-enxxx
Ype=ethernet
Bootproto=static #
Defroute=yes
Peerdns=yes
Peerroutes=yes
Ipv4_failure_fatal=no
Ipv6init=yes
Ipv6_autoconf=yes
Ipv6_defroute=yes
Ipv6_peerdns=yes
Ipv6_peerroutes=yes
Ipv6_failure_fatal=no
Ipv6_addr_gen_mode=stable-privacy
Name=enp0s3
Uuid=40ffdbf2-eb4c-44da-922b-86ccc40bbecd
Device=enp0s3
Onboot=yes #
Hwaddr=08:00:27:3e:59:ab #
Ipaddr=192.168.5.xxx
gateway=192.168.5.1
netmask=255.255.255.0
dns=192.168.5.1
CentOS 7 Set static IP