先ping看能通不,不通修改一下文件 vi /etc/sysconfig/network-scripts/ifcfg-ens33 ONBOOT=yes 修改之后重启network: service network restart 问题解决