[英]How to connect 2 VMware machines to ping each other
I would like to ping between VM1 and VM2 .我想在VM1和VM2之间ping 。 Using VMware Workstation 14.
使用VMware工作站 14。
IDEA主意
I do Windows deployment for school purposes.我为学校目的进行 Windows 部署。 VM1 is server with DNS, DHCP, etc. roles.
VM1 是具有 DNS、DHCP 等角色的服务器。 VM2 is blank, gets IP from DHCP pool, loads boot image and installs OS.
VM2 为空白,从 DHCP 池获取 IP,加载启动映像并安装操作系统。
VM1 (Windows Server 2016) VM1 (Windows Server 2016)
Ethernet adapter Ethernet0:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::9f4:a874:f039:8af6%9
IPv4 Address. . . . . . . . . . . : 192.168.1.168
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
VM2 (blank - no operating system) VM2 (空白 - 无操作系统)
Ethernet adapter Ethernet0:
Connection-specific DNS Suffix . : UPCE.CZ
Link-local IPv6 Address . . . . . : fe80::4f4:a874:1f7c:6c9%3
IPv4 Address. . . . . . . . . . . : 192.168.1.20
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.168
I can ping from VM1 (server) to VM2.我可以从 VM1(服务器)ping 到 VM2。
I can not ping from VM2 to VM1 (server).我无法从 VM2 ping 到 VM1(服务器)。
Both VM1 and VM2 adapters are set in VMware to Host-Only : private network shared with the host. VM1 和 VM2 适配器都在 VMware 中设置为Host-Only :与主机共享的专用网络。
Since SCCM 2012 deployment fails I started to troubleshoot by IP.由于 SCCM 2012 部署失败,我开始通过 IP 进行故障排除。
Thanks for helping me to get more education.感谢您帮助我获得更多的教育。
One issue could be Windows Firewall running on VM1 that would block pings.一个问题可能是在 VM1 上运行的 Windows 防火墙会阻止 ping。 Turning off Windows Firewall or adding rule to allow ICMP traffic will fix it.
关闭 Windows 防火墙或添加规则以允许 ICMP 流量将修复它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.