[root@localhost ~]# vim /etc/sysconfig/network-scripts/ifcfg-ens32(网卡)
BOOTPROTO=static
删除UUID
ONBOOT=yes
IPADDR=__.__.__.__
NETMASK=__.__.__.__
GATEWAY=__.__.__.__
DNS1=__.__.__.__202.106.0.20 北京通用
保存退出
[root@localhost ~]# systemctl restart network 刷新一下