為什麼tracert在無線連接時不起作用,但在有線連接時起作用?

為什麼tracert在無線連接時不起作用,但在有線連接時起作用?

如果我的筆記型電腦透過無線連接到我的新 Netgear 路由器,則所有追蹤命令顯示我的路由器的第 1 跳的 IP 位址,然後逾時全部剩餘的啤酒花。如果我透過有線連接到路由器,追蹤命令按預期運行(顯示每個躍點的解析度和延遲)。

知道這是為什麼嗎?


無線追蹤路由:

Tracing route to www.l.google.com [74.125.113.99]
over a maximum of 30 hops:

  1     1 ms    <1 ms    11 ms  192.168.x.x 
  2     *        *        *     Request timed out.
  3     *        *        *     Request timed out.
  4     *        *        *     Request timed out.
  5     *        *        *     Request timed out.
  6     *        *        *     Request timed out.
  7     *        *        *     Request timed out.
  8     *        *        *     Request timed out.
  9     *        *        *     Request timed out.
 10     *        *        *     Request timed out.
 11     *        *        *     Request timed out.
 12     *        *        *     Request timed out.
 13     *        *        *     Request timed out.
 14    32 ms    32 ms    33 ms  vw-in-f99.1e100.net [74.125.113.99] 

Trace complete.

有線追蹤路由:

Tracing route to www.l.google.com [74.125.91.103]
over a maximum of 30 hops:

  1    <1 ms    <1 ms    <1 ms  192.168.x.x 
  2     1 ms     1 ms     1 ms  10.1.10.1 
  3    15 ms    32 ms    70 ms  98.211.90.1 
  4    26 ms     8 ms    11 ms  te-8-3-ur01.mycity.md.bad.comcast.net [68.85.134.125] 
  5    17 ms    13 ms    18 ms  69.139.174.210 
  6    15 ms    13 ms    30 ms  69.139.174.190 
  7    22 ms    29 ms    13 ms  pos-5-1-0-0-cr01.ashburn.va.ibone.comcast.net [68.86.90.241] 
  8    35 ms    15 ms    15 ms  pos-0-1-0-0-pe01.ashburn.va.ibone.comcast.net [68.86.86.30] 
  9    64 ms    78 ms    73 ms  75.149.231.62 
 10    20 ms    57 ms    34 ms  209.85.252.80 
 11    49 ms    45 ms    30 ms  209.85.248.75 
 12    27 ms    44 ms    32 ms  209.85.254.237 
 13    48 ms     *       34 ms  209.85.240.57 
 14   100 ms    29 ms    43 ms  qy-in-f103.1e100.net [74.125.91.103] 

Trace complete.

詳細的 IPConfig(2 個適配器的):

Windows IP Configuration

   Host Name . . . . . . . . . . . . : MyPCName
   Primary Dns Suffix  . . . . . . . : 
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Atheros AR8131 PCI-E Gigabit Ethernet Controller (NDIS 6.20)
   Physical Address. . . . . . . . . : xx-xx-xx-xx-xx-xx
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : xxxx::xxxx:xxxx:xxxx:xxxx%12(Preferred) 
   IPv4 Address. . . . . . . . . . . : 192.168.x.yyy(Preferred) 
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Wednesday, September 07, 2011 5:13:55 PM
   Lease Expires . . . . . . . . . . : Thursday, September 08, 2011 8:04:49 PM
   Default Gateway . . . . . . . . . : 192.168.x.x
   DHCP Server . . . . . . . . . . . : 192.168.x.x
   DHCPv6 IAID . . . . . . . . . . . : 289954617
   DHCPv6 Client DUID. . . . . . . . : xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx
   DNS Servers . . . . . . . . . . . : 192.168.x.x
   NetBIOS over Tcpip. . . . . . . . : Enabled

Wireless LAN adapter Wireless Network Connection:

   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Atheros AR9285 Wireless Network Adapter
   Physical Address. . . . . . . . . : xx-xx-xx-xx-xx-xx
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : xxxx::xxxx:xxxx:xxxx:xxxx%11(Preferred) 
   IPv4 Address. . . . . . . . . . . : 192.168.x.zzz(Preferred) 
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Tuesday, August 30, 2011 9:39:45 AM
   Lease Expires . . . . . . . . . . : Thursday, September 08, 2011 7:35:50 PM
   Default Gateway . . . . . . . . . : 192.168.x.x
   DHCP Server . . . . . . . . . . . : 192.168.x.x
   DHCPv6 IAID . . . . . . . . . . . : 192213101
   DHCPv6 Client DUID. . . . . . . . : xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx
   DNS Servers . . . . . . . . . . . : 192.168.x.x
   NetBIOS over Tcpip. . . . . . . . : Enabled

答案1

當第一個網關(在這種情況下,路由器的無線網路端設定為不發出/重新傳輸/轉送 ICMP TIME_EXCEEDED 訊息。(traceroute取決於這些增加的 IP 協定生存時間 (TTL) 欄位設定)時,會出現此行為。

從主機的 IP 位址和第一個網關的 IP 位址可知第一個和最後一個條目的時間和 IP 位址。

答案2

你有雙NAT。這是一種不受歡迎的配置,可能會導致各種問題。在這種特定情況下,您的第二個 NAT 裝置似乎無法弄清楚如何將 ICMP 回覆傳回您的電腦。

實際上,許多 Netgear 路由器都存在一個涉及無線節點橋接不當的已知問題。有線節點在硬體中橋接,無線節點在軟體中橋接。他們的軟體橋接嘗試理解某些協定(特別是 DHCP 和 ICMP),有時決定處理而不是橋接某些資料包。

對您來說最簡單的修復可能是:

  1. 停用 Netgear 路由器中的 DHCP 伺服器。

  2. 中斷 Netgear 路由器的 Internet/WAN 連接埠。

  3. 將 Netgear 路由器的 LAN 連接埠之一連接到數據機/路由器的 LAN 連接埠之一。

這將 Netgear 路由器嚴格用作交換器和存取點。如果您喜歡使用 Netgear 路由器進行路由,則需要了解如何將數據機/路由器變更為橋接器。

答案3

奇怪的是,禁用 DCHP 然後再次打開(在調製解調器/路由器上)糾正了問題,一切開始正常工作。可能需要重新啟動所有網路設備才能解決此問題。

感謝您對這個問題的所有幫助和考慮。

相關內容