0
我想了解ping命令的行爲。嘗試在Windows 7 PC上進行實驗。 在命令提示符下,我發出以下命令:Windows 7 ping通用故障
ping <some hostname> -l 4096
我得到的輸出是
Pinging <some hostname> [xx.xx.xxx.xx] with 4096 bytes of data:
General failure.
General failure.
General failure.
General failure.
Ping statistics for xx.xx.xxx.xx:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
然而,ping <same hostname> -l 32
作品就好了。
所以我的問題是爲什麼服務器對不同的數據包大小有不同的表現?它與挫敗有關嗎?或者是我的本地ping程序默認以這種方式配置,以便不發送更大的數據包?
請注意,-l標誌可讓您指定ping請求的緩衝區大小。