「ネットワークが遅い」
たとえば、
ping応答による原因の切り分け
ヒアリングと合わせて有効なのが、
-tオプションにより[Ctrl]+[C]で強制終了させるまでpingが継続している。また、
C:\>ping -t www.monyo.com
Pinging WWW.MONYO.COM [202.224.206.195] with 32 bytes of data:
Reply from 202.224.206.195: bytes=32 time=41ms TTL=243
Reply from 202.224.206.195: bytes=32 time=29ms TTL=243
Request timed out.
Reply from 202.224.206.195: bytes=32 time=29ms TTL=243
Reply from 202.224.206.195: bytes=32 time=30ms TTL=243
Reply from 202.224.206.195: bytes=32 time=28ms TTL=243
Ping statistics for 202.224.206.195:
Packets: Sent = 6, Received = 5, Lost = 1 (16% loss),
Approximate round trip times in milli-seconds:
Minimum = 28ms, Maximum = 41ms, Average = 31ms
Control-C
^C
C:\>
-tを付けることで、
サーバをIPアドレスで指定した場合と名前で指定した場合との応答を見比べることをお勧めします。名前でアクセスした時に初回の応答までにちょっと間が空くという場合は、
名前解決機構のトラブルシューティング
名前解決機構のトラブルシューティングはかなり繁雑ですが、
C:\>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : madoka
Primary Dns Suffix . . . . . . . : monyo.local
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : monyo.local
Ethernet adapter LAN2:
Connection-specific DNS Suffix . : localdomain
Description . . . . . . . . . . . : VMware Accelerated AMD PCNet Adapter #2
Physical Address. . . . . . . . . : 00-0C-29-11-C0-EF
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.135.153
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.135.2
DHCP Server . . . . . . . . . . . : 192.168.135.254
DNS Servers . . . . . . . . . . . : 192.168.1.1
172.16.100.1
Primary WINS Server . . . . . . . : 192.168.135.2
Lease Obtained. . . . . . . . . . : 2007年8月10日 10:12:25
Lease Expires . . . . . . . . . . : 2007年8月10日 10:42:25
DNSサーバへのアクセスに問題がない場合は、
最初は192.
C:\>nslookup www.monyo.com 192.168.1.1 Server: modemnv3-e68c8e Address: 192.168.1.1 Non-authoritative answer: Name: www.monyo.com Address: 202.224.206.195 C:\>nslookup www.monyo.com 172.16.100.1 *** Can't find server name for address 172.16.100.1: Non-existent domain Server: UnKnown Address: 172.16.100.1 Non-authoritative answer: Name: www.monyo.com Address: 202.224.206.195 C:\>
DNSサーバで名前解決が失敗しているにもかかわらず、
回線の輻輳、回線品質の確認
万一、
この場合は、
なお、
C:\>ping -l 996 www.monyo.com
Pinging WWW.MONYO.COM [202.224.206.195] with 996 bytes of data:
Reply from 202.224.206.195: bytes=996 time=41ms TTL=243
Reply from 202.224.206.195: bytes=996 time=42ms TTL=243
Reply from 202.224.206.195: bytes=996 time=42ms TTL=243
Reply from 202.224.206.195: bytes=996 time=44ms TTL=243
Ping statistics for 202.224.206.195:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 41ms, Maximum = 44ms, Average = 42ms
C:\>
ただし、
MTUサイズの確認
この他、
C:\Documents and Settings\monyo>tracert www.monyo.com
Tracing route to WWW.MONYO.COM [202.224.206.195]
over a maximum of 30 hops:
1 1 ms 1 ms 1 ms modemnv3-e68c8e [192.168.1.1]
2 10 ms 10 ms 10 ms 10.100.100.1
^C
C:\Documents and Settings\monyo>ping 10.100.100.1 -f -l 1426
Pinging 10.100.100.1 with 1426 bytes of data:
Reply from 10.100.100.1: bytes=1426 time=15ms TTL=254
Reply from 10.100.100.1: bytes=1426 time=15ms TTL=254
Ping statistics for 10.100.100.1:
Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 15ms, Maximum = 15ms, Average = 15ms
Control-C
^C
C:\Documents and Settings\monyo>ping 10.100.100.1 -f -l 1427
Pinging 10.100.100.1 with 1427 bytes of data:
Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.
Ping statistics for 10.100.100.1:
Packets: Sent = 2, Received = 0, Lost = 2 (100% loss),
Control-C
^C
C:\Documents and Settings\monyo>
たとえばフレッツADSLなどではMTUを1454バイトに設定することが推奨されています。なおこの原理や便利な設定ツールなどについては、
パケットキャプチャが必要な場合
これらの切り分けを行っても原因の追求ができない場合、
筆者がいままで経験したネットワーク側に問題があるケースとしては、