虚拟机之间互相访问
2017-04-21 本文已影响0人
那年笔记
两个虚拟之间互相访问的前提条件:两个虚拟机在同一虚拟VMnet网络中,并且两个虚拟机的IP属于同一网段。下面以WIN7 和XP为例进行演示
Setp1 在虚拟机网络编辑器里把VMnet1网络设置为192.168.10 .0网段,子网掩码 255.255.255.0 点击确定

Setp2 将虚拟机WIN7 和XP 的网络设置成VMnet1

Setp3 分别设置虚拟机WIN7和XP的IP为192.168.10.5和192.168.10.6

Setp4 CMD命令状态下使用ping命令,ping192.16810.6, WEIN7pingxp通

Setp5 同样用ping命令查看xp与win7是否可以通

若ping不通看防火墙是否关闭,若开启关闭后即可