我有两台机器连接到同一个 LAN。从机器 (B),我可以成功 Ping 机器 (A)。但是从机器 (A),我无法 Ping 机器 (B)。
计算机(A):Windows 10 Enterprise IP地址:192.168.1.37
计算机(B):Windows 10 Enterprise IP地址:192.168.1.36
路由器 IP 地址:192.168.1.1(两台机器均可成功 ping 该地址)
从机器(A)到机器(B):
>ping 192.168.1.36
Pinging 192.168.1.36 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.1.36:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss)
补充说明:我认为目标主机在其本地防火墙上过滤了 ICMP ping 请求,并验证了目标主机上的传入规则,并确认允许 ping 请求。请参阅下面的屏幕截图。
更新 1:
- 两台机器都在同一网络的 WIFI 上。
- 两台机器均处于公开状态。
- 两台机器的网络发现和文件/打印机共享都已打开。
机器(A):路线
>route print
===========================================================================
Interface List
39...f0 77 c3 97 5b 72 ......Microsoft Wi-Fi Direct Virtual Adapter
31...f2 77 c3 97 5b 71 ......Microsoft Wi-Fi Direct Virtual Adapter #2
14...f0 77 c3 97 5b 71 ......Intel(R) Wi-Fi 6 AX201 160MHz
1...........................Software Loopback Interface 1
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.37 55
127.0.0.0 255.0.0.0 On-link 127.0.0.1 331
127.0.0.1 255.255.255.255 On-link 127.0.0.1 331
127.255.255.255 255.255.255.255 On-link 127.0.0.1 331
192.168.1.0 255.255.255.0 On-link 192.168.1.37 311
192.168.1.37 255.255.255.255 On-link 192.168.1.37 311
192.168.1.255 255.255.255.255 On-link 192.168.1.37 311
224.0.0.0 240.0.0.0 On-link 127.0.0.1 331
224.0.0.0 240.0.0.0 On-link 192.168.1.37 311
255.255.255.255 255.255.255.255 On-link 127.0.0.1 331
255.255.255.255 255.255.255.255 On-link 192.168.1.37 311
===========================================================================
Persistent Routes:
None
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
1 331 ::1/128 On-link
14 311 fe80::/64 On-link
14 311 fe80::74d6:7f44:7253:24ad/128
On-link
1 331 ff00::/8 On-link
14 311 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
ipconfig:
>ipconfig
Windows IP Configuration
Wireless LAN adapter Local Area Connection* 9:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Local Area Connection* 10:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . : hgu_lan
Link-local IPv6 Address . . . . . : fe80::74d6:7f44:7253:24ad%14
IPv4 Address. . . . . . . . . . . : 192.168.1.37
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
机器(B):路线:
>route print
===========================================================================
Interface List
2...0a 11 22 33 44 56 ......Microsoft Wi-Fi Direct Virtual Adapter
12...08 11 22 33 44 55 ......Microsoft Wi-Fi Direct Virtual Adapter #2
8...0a 11 22 33 44 55 ......Intel(R) Dual Band Wireless-AC 7260
1...........................Software Loopback Interface 1
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.36 50
127.0.0.0 255.0.0.0 On-link 127.0.0.1 331
127.0.0.1 255.255.255.255 On-link 127.0.0.1 331
127.255.255.255 255.255.255.255 On-link 127.0.0.1 331
192.168.1.0 255.255.255.0 On-link 192.168.1.36 306
192.168.1.36 255.255.255.255 On-link 192.168.1.36 306
192.168.1.255 255.255.255.255 On-link 192.168.1.36 306
224.0.0.0 240.0.0.0 On-link 127.0.0.1 331
224.0.0.0 240.0.0.0 On-link 192.168.1.36 306
255.255.255.255 255.255.255.255 On-link 127.0.0.1 331
255.255.255.255 255.255.255.255 On-link 192.168.1.36 306
===========================================================================
Persistent Routes:
None
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
1 331 ::1/128 On-link
1 331 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
ipconfig:
>ipconfig
Windows IP Configuration
Wireless LAN adapter Local Area Connection* 10:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Local Area Connection* 11:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . : hgu_lan
IPv4 Address. . . . . . . . . . . : 192.168.1.36
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
更新 2:
- 请查看下面的屏幕截图和突出显示的部分。这是个问题吗?