centos7网卡配置文件
DEVICE=eth0
TYPE=Ethernet
UUID=9c92974f-a220-4380-bc55-fdd6c4fdd9d9
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
IPADDR=10.115.21.142
PREFIX=24 #可以写成NETMASK 255.255.255.0
GATEWAY=10.115.21.1
DNS1=10.100.100.100
HWADDR=00:0C:29:99:F8:
LAST_CONNECT=1505238618