search

Home  >  Q&A  >  body text

linux - 虚拟环境centos7, network is unreachable

物理机是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有没有关系,请问有人知道该怎么解决吗?

黄舟黄舟2768 days ago499

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2017-04-17 14:32:55

    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.

    reply
    0
  • Cancelreply