在Hyper-V上安装CentOS 7发现无法上网,ping返回connect: network is unreachable
错误信息
解决方法
1.
service network restart
2.
vi /etc/sysconfig/network-scripts/ifcfg-[网络设备名]
//设备名一般为eth0
把ONBOOT no
改为yes
重启 重新插拔网线故障排除
在Hyper-V上安装CentOS 7发现无法上网,ping返回connect: network is unreachable
错误信息
1.
service network restart
2.
vi /etc/sysconfig/network-scripts/ifcfg-[网络设备名]
//设备名一般为eth0
把ONBOOT no
改为yes
重启 重新插拔网线故障排除