1.首先用终端命令查看网卡是否启动 命令为:ip a网络
查看ens33是否为本身的ip若是没有 使用 sudo service netorking restart 命令重启网络 rest
若是显示有线未托管则要修改conf文件blog
改成true 重启虚拟机就ok了ip