1.虚拟机与外部主机采用NAT方式网络,所有配置都按照NAT网络配置方式进行配置(可按如下文档进行配置https://www.jianshu.com/p/5b8da7a1ad63?utm_campaign=maleskine&utm_content=note&utm_medium=seo_notes&utm_source=recommendation),但仍连不了网络。发现ifconfig时,RT packets 0 和TX packets 0的情况,如下图

启动虚拟机时,提示“无法连接虚拟设备ide1:0,主机上没有相对应的设备”,发现此处配置有问题


修改此处配置

重启虚拟机后,网络即可连接成功


网友评论