linux - 虚拟环境centos7, network is unreachable
黄舟
黄舟 2017-04-17 14:30:55
0
1
502

物理机是windows7系统,安装了vmware-workstation 10
在vmware虚拟机环境安装了centos7,是从官网下载的dvdiso
装好后没做过其他任何事情,发现网络无法连接,ping 百度 ping我的本地路由器 192.168.0.1 ping啥都不通
显示信息如下

connect: network is unreachable

网上查了查,发现我的/etc/sysconfig/network-scripts/目录下只有一个ifcfg-lo文件,没有大多数博客所说的ifcfg-eth0文件。

我不清楚这和我在vmware虚拟环境安装centos有没有关系,请问有人知道该怎么解决吗?

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(1)
Peter_Zhu

When you created a new virtual machine, did you set the network card to start and power on? From the description, it seems that the network card did not install the corresponding driver during installation.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template