纯净系统
vim /etc/sysconfig/network-scripts/ifcfg-ens33
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=ens33
UUID=40a34b54-89ab-42cd-9e0a-6af6b0cb6002
DEVICE=ens33
ONBOOT=yes
IPADDR=192.168.26.66
NETMASK=255.255.255.0
GATEWAY=192.168.26.1
DNS1=223.5.5.5
DNS2=223.6.6.6
service network restart