什麼會導致 PC 和路由器之間透過 WiFi 的 ping 時間出現較大差異?

什麼會導致 PC 和路由器之間透過 WiFi 的 ping 時間出現較大差異?

我剛剛購買了一台新路由器 (Buffalo WZR-HP-G300NH) 並在新位置設置了路由器。我正在運行庫存韌體 1.72。

我的電腦和路由器之間有幾堵牆和一個天花板。路由器位於地下室,大部分位於房子其餘部分的正下方。路由器靠近地下室天花板——房子其他部分的地板。路由器似乎發出了相當強的信號,但是,網路往往會時不時地中斷。我想確定是我們的新路由器還是 ISP 出了問題,為此,我運行了 ping -t 來查看是否從路由器獲得了穩定的回應。

Reply from <routerIPAddress>: bytes=32 time=1ms TTL=64
Reply from <routerIPAddress>: bytes=32 time<1ms TTL=64
Reply from <routerIPAddress>: bytes=32 time<1ms TTL=64
Reply from <routerIPAddress>: bytes=32 time=124ms TTL=64
Reply from <routerIPAddress>: bytes=32 time=1ms TTL=64
Reply from <routerIPAddress>: bytes=32 time=31ms TTL=64
Reply from <routerIPAddress>: bytes=32 time=60ms TTL=64
Reply from <routerIPAddress>: bytes=32 time=3ms TTL=64
Reply from <routerIPAddress>: bytes=32 time=165ms TTL=64
Request timed out.
Reply from <routerIPAddress>: bytes=32 time=106ms TTL=64
Reply from <routerIPAddress>: bytes=32 time=14ms TTL=64
Reply from <routerIPAddress>: bytes=32 time=6ms TTL=64
Reply from <routerIPAddress>: bytes=32 time=3ms TTL=64
Reply from <routerIPAddress>: bytes=32 time<1ms TTL=64
Reply from <routerIPAddress>: bytes=32 time<1ms TTL=64
Reply from <routerIPAddress>: bytes=32 time=1ms TTL=64
Reply from <routerIPAddress>: bytes=32 time=11ms TTL=64
Reply from <routerIPAddress>: bytes=32 time=2ms TTL=64
Reply from <routerIPAddress>: bytes=32 time=8ms TTL=64
Reply from <routerIPAddress>: bytes=32 time=5ms TTL=64
Reply from <routerIPAddress>: bytes=32 time=13ms TTL=64
Request timed out.
Reply from <routerIPAddress>: bytes=32 time=906ms TTL=64
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Reply from <routerIPAddress>: bytes=32 time=371ms TTL=64
Request timed out.
Reply from <routerIPAddress>: bytes=32 time=260ms TTL=64
Request timed out.
Reply from <routerIPAddress>: bytes=32 time=610ms TTL=64
Request timed out.
Reply from <routerIPAddress>: bytes=32 time=206ms TTL=64
Reply from <routerIPAddress>: bytes=32 time<1ms TTL=64
Request timed out.
Request timed out.
Reply from <routerIPAddress>: bytes=32 time=149ms TTL=64
Reply from <routerIPAddress>: bytes=32 time=531ms TTL=64
Reply from <routerIPAddress>: bytes=32 time=8ms TTL=64
Request timed out.
Reply from <routerIPAddress>: bytes=32 time<1ms TTL=64
Reply from <routerIPAddress>: bytes=32 time<1ms TTL=64
Reply from <routerIPAddress>: bytes=32 time<1ms TTL=64
Reply from <routerIPAddress>: bytes=32 time=1ms TTL=64
Reply from <routerIPAddress>: bytes=32 time<1ms TTL=64
Reply from <routerIPAddress>: bytes=32 time=1ms TTL=64
Reply from <routerIPAddress>: bytes=32 time<1ms TTL=64
Reply from <routerIPAddress>: bytes=32 time<1ms TTL=64

其他相關症狀—儘管有 3 格 wifi,我們的手機還是隨機離開 WiFi 轉而使用 3G 網路。

是什麼導致品質突然下降?會不會是路由器擺放位置不好?我應該為路由器找一個更好的地方嗎?是不是路由器本身有問題?

答案1

首先ping時間。

ping 時間的變化並不能告訴你什麼。如果主機收到 ping 封包,則沒有什麼可說的,它應該盡快回應。因此,ping 時間的變化是正常的,也是可以預期的。

解決你真正的問題。您會遇到一些資料包損壞的情況。有了 Wifi,你就有了一個共享的衝突域。如果您和您的鄰居都使用相同的頻道,並且您的鄰居下載了一個巨大的文件,您可能會發現您也遇到了衝突。另外,如果您有 25 個鄰居,並且他們都有 Wi-Fi,那麼您可能會發現總是遇到問題。

大多數路由器似乎預設使用通道 6。其中一個頻道將是您附近最安靜的頻道,並且提供最佳的訪問權限。

您的問題似乎不是由於路由器的放置造成的,如果是,那麼您可能會一直遇到不好的情況,並且訊號品質很差。

答案2

好吧,是的,這就是安置。也許應該在問問題之前先嘗試一下。

我將路由器放置在地下室天花板和一樓之間的兩層托樑之間。該區域也有一個反光金屬通風口。根據這個連結這不是一個很好的位置:

您的路由器應該處於露天狀態;請勿將其放在桌子下方、抽屜裡或金屬文件櫃後面。

我將路由器放置在這裡是因為 inSSIDer 測量到的 RSSI 是最高的。我猜 RSSI 測量的是原始功率,而不是實際訊號品質。也許有人可以解釋為什麼原始功率 (RSSI) 不一定等於良好的訊號品質。

將路由器放置在更開放的位置可以消除這些症狀,並且我的 ping 時間略有變化,但始終低於 10 毫秒。

事實證明,第二個因素是路由器的自動通道設定。有時,路由器會掃描頻道並開始快速切換頻道。這可能會導致斷開連接或無法 ping 通。若要解決此問題,請將頻道號碼設定為靜態頻道。有關詳細信息,請參閱此知識庫文章。

http://www.buffalotech.com/knowledgebase/users/kb.php?id=10044&category_id=9&sid2=

相關內容