DEVICE=eht0 #网卡名称
BOOTPROTO=none #关闭自动获取 dhcp
IPADDR=192.168.0.178 #ip地址
GATEWAY=192.168.0.1
DNS1=192.168.0.1
HWADDR=00:0c:29:0f:95:75
NM_CONTROLLED=yes
ONBOOT=yes #开机启动
TYPE=Ethernet
UUID="6ed41d71-9f0c-4bf8-8ff6-7a728926356d"
IPV6INIT=no
USERCTL=no
PEERDNS=yes