[转]virtualbox centos无法上网问题
原文地址
virualbox里面设置nat模式(我这儿配置virtual时, 第一张网卡是NAT模式, 还加了一张网卡, 选择了host-only模式, 估计不是必须)
修改centos里面文件:
vi /etc/sysconfig/network-scripts/ifcfg-enp0s3 文件
ONBOOT=no改为ONBOOT=yes
保存后, 重启网络服务
service network restart 重启网络服务
另外参考:https://blog.csdn.net/xiaotongzhi_w/article/details/108673396