Windows

來自 1 台特定 Windows XP 筆記型電腦的伺服器的 ping/ssh 網路問題

  • December 31, 2010

我的數據中心的一台特定伺服器從我的筆記型電腦連接時遇到了一個奇怪的問題。

基本上可以從我家的其他機器訪問伺服器,但不能從執行 Windows XP 的一台特定筆記型電腦訪問。

我在伺服器上設置了 tcpdump 並在筆記型電腦上設置了 wireshark,我可以看到 ping 回應要求和回複數據包,它們實際上返回到筆記型電腦上的 wireshark,但 ping 控制台輸出中沒有任何顯示;

$ ping xxx.55.32.255

Pinging xxx.55.32.255 with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for xxx.55.32.255:
   Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

但是我可以從本地筆記型電腦上的wireshark看到ping回復回來了……

No.     Time        Source                Destination           Protocol Info
    46 3.964474    192.168.1.64          xxx.55.32.255         ICMP     Echo (ping) request

Frame 46 (74 bytes on wire, 74 bytes captured)
Ethernet II, Src: Intel_31:d3:01 (00:19:d2:42:c3:01), Dst: ThomsonT_01:b8:2c (00:14:7f:02:b9:3c)
Internet Protocol, Src: 192.168.1.64 (192.168.1.64), Dst: xxx.55.32.255 (xxx.55.32.255)
Internet Control Message Protocol

No.     Time        Source                Destination           Protocol Info
    48 4.119060    xxx.55.32.255         192.168.1.64          ICMP     Echo (ping) reply

Frame 48 (74 bytes on wire, 74 bytes captured)
Ethernet II, Src: ThomsonT_01:b8:2c (00:14:7f:01:b8:2c), Dst: Intel_21:c3:01 (10:20:d2:31:c3:01)
Internet Protocol, Src: xxx.55.32.255 (xxx.55.32.255), Dst: 192.168.1.64 (192.168.1.64)
Internet Control Message Protocol

顯然我已經禁用了 Windows 防火牆,並且 Windows 事件日誌中沒有任何內容。伺服器沒有其他明顯的奇怪之處,因為它與我可以正常連接的其他伺服器相同。

您的問題可能是 IP xxx.55.32.255。

即使您的網路不是 /24,Windows 也不能很好地處理以 .0 或 .255 結尾的任何 IP 地址。IP 堆棧可能會丟棄數據包。是的,這是 Windows 中 IP 實現中的一個嚴重錯誤。

閱讀http://support.microsoft.com/kb/281579

引用自:https://serverfault.com/questions/217662