HWADDR=00:0c:29:a7:8e:ee
TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
PEERROUTES=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
NAME=ens33
UUID=97a1500c-2291-46b2-888a-0baba504751d
#DEVICE=ens33
PROXY_METHOD=none
ONBOOT=yes
IPADDR=192.168.1.234
NETNASK=255.255.255.0
GATEWAY=192.168.1.1
DNS1=10.198.1.1
#BROWSER_ONLY=no
#IPV6INIT=yes
#IPV6_AUTOCONF=yes
#IPV6_DEFROUTE=yes
#IPV6_FAILURE_FATAL=no
#IPV6_ADDR_GEN_MODE=stable-privacy
#ONBOOT=yes
# 激活网卡 centos 7 命令行输入 nmtui-connect en(网卡设备名)