https://blog.csdn.net/onlyonexhj/article/details/131273066
centos7中的网络设置
#虚拟机网络配置文件
vi /etc/sysconfig/network-scripts/ifcfg-ens33
修改完成后重启虚拟机网络
systemctl restart network
1
尝试连接百度看是否能ping通
至此网络配置全部完成,最后别忘了关闭防火墙
systemctl stop firewalld
systemctl disable firewalld
标签:ip,虚拟机,宿主机,VM,网络,linux From: https://www.cnblogs.com/yuyu666/p/17788101.html