vim /etc/sysconfig/network-scripts/ifcfg-ens33 添加完ip地址重启服务即可 systemctl restart network 检查是否修改成功 ip addr