centos7 网络问题


1虚拟机网卡设置--网卡设置模式为NET模式(正常情况是可以直接上网的)
2“cd /etc/sysconfig/network-scripts/
3使用命令“sudo vi ifcfg-ens33”进入编辑,进入后点击“i”进入编辑模式将“onboot=no”改成“onboot=yes”点击ESC然后输入“:wq”保存退出,wq(write,quit)。

猜你喜欢

转载自www.cnblogs.com/tandy/p/9296468.html
今日推荐