【NAT模式下解决】1.首先vi /etc/sysconfig/network-scripts/ifcfg-ens33检查ONBOOT=yes,保存
vi /etc/sysconfig/network-scripts/ifcfg-ens33
2.输入systemctl restart network命令重启网关
systemctl restart network