简体   繁体   English

如何连接2台VMware机器互相ping通

[英]How to connect 2 VMware machines to ping each other

I would like to ping between VM1 and VM2 .我想在VM1VM2之间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.

相关问题 如何启用Docker容器通过其主机名相互ping通? - How to enable docker containers ping each other via their host names? 如何使用脚本检查远程服务器是否可以互相ping通? - How to check remote servers can ping each other using a script? 是否可以在两个不同的虚拟机上使用Python创建客户端服务器模型,并使它们彼此连接? - Is it possible to create a Client Server Model using Python on two different Virtual Machines and have them connect to each other? Debian Buster - 无法从除 windows 之外的其他计算机上 ping 主机? - Debian Buster - Cannot ping host from other machines except windows? 让两个 Linux 虚拟机相互 Ping - Getting Two Linux VMs to Ping Each Other 如何通过QTcpServer连接2台计算机 - How to connect 2 machines through QTcpServer 如何将无线网络适配器连接到 VMWare 工作站? - How to connect wireless network adapter to VMWare workstation? 当他们的ips不断变化时,两台机器如何相互检测? - How can two machines detect each other when their ips keep changing? 我无法连接到同一网络中的其他计算机 - I can't connect to other machines within the same network 允许局域网网段在多宿主路由器上相互ping通 - Allow lan segments to ping each other on multihomed router
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM