[英]How to connect 2 VMware machines to ping each other
我想在VM1和VM2之間ping 。 使用VMware工作站 14。
主意
我為學校目的進行 Windows 部署。 VM1 是具有 DNS、DHCP 等角色的服務器。 VM2 為空白,從 DHCP 池獲取 IP,加載啟動映像並安裝操作系統。
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 (空白 - 無操作系統)
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
我可以從 VM1(服務器)ping 到 VM2。
我無法從 VM2 ping 到 VM1(服務器)。
VM1 和 VM2 適配器都在 VMware 中設置為Host-Only :與主機共享的專用網絡。
由於 SCCM 2012 部署失敗,我開始通過 IP 進行故障排除。
感謝您幫助我獲得更多的教育。
一個問題可能是在 VM1 上運行的 Windows 防火牆會阻止 ping。 關閉 Windows 防火牆或添加規則以允許 ICMP 流量將修復它。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.