MTU (Maximum Transmission Unit, 最大傳輸單元) 設定不當會導致封包分片、重傳,降低網路吞吐量。Windows 7 可透過 netsh 指令調整 MTU 至最佳值 (通常 1480 bytes 適用 PPPoE 環境),提升網速穩定度。
cmd (系統管理員)。netsh interface ipv4 show subinterfaces
依序執行以下指令 (每行輸入後按 Enter):
netsh interface ipv4 set subinterface "區域連線" mtu=1480 store=persistent
netsh interface ipv4 set subinterface "無線網路連線" mtu=1480 store=persistent
計算邏輯: 最佳 MTU = (Ping 測試最大不分片封包大小) + 28 bytes (IP/ICMP 標頭)。
例:Ping 測試 1452 bytes 不分片 → 1452 + 28 = 1480。
netsh interface ipv4 show subinterfaces 確認生效。ping -f -l 1472 8.8.8.8 (1472+28=1500,若不分片成功表示 MTU≥1500 正常)。store=persistent 確保重開機保留。精準設定 MTU,減少封包分片重傳,讓網路傳輸更順暢穩定。