IPv6設定IPv6設定方法
WindowsでIPv6を使うときの設定について
■Windows2000
追加ソフトが必要。詳しくは↓を。
http://pub.cozmixng.org/~hiki/v6/?Windows2000%A4%CBIPv6%A4%F2%C6%B3%C6%FE%A4%B9%A4%EB%BC%EA%BD%E7
■WindowsXP全般
コマンドプロンプトで
ipv6 install
GUIで設定する場合は、以下。
■WindowsXP SP1(Advanced Networking Pack for Windows XPなし)
[ローカルエリア接続のプロパティ]-[全般]タブの「インストール」ボタンから[プロトコル]→<追加>→「Microsoft IPv6 Developer Edition」→<OK> でインストール完了。
■WindowsXP SP2, WindowsXP SP1(Advanced Networking Pack for Windows XPあり)
[ローカルエリア接続のプロパティ]-[全般]タブの「インストール」ボタンから[プロトコル]→<追加>→「Microsoft TCP/IP version 6」→<OK> でインストール完了。
■Windows2000
ipconfigではIPv6アドレスは確認できない
コマンドプロンプトから
ipv6 if
■WindowsXP全般
コマンドプロンプトから
ipconfig や ipconfig/all
結果例
C:\Documents and Settings\HELPDESK>ipconfig Windows IP Configuration Ethernet adapter ワイヤレス ネットワーク接続 8: Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : 192.168.1.9 Subnet Mask . . . . . . . . . . . : 255.255.255.0 IP Address. . . . . . . . . . . . : 2001:DB8:abcd:0:74ba:e9ed:aec:56a4 IP Address. . . . . . . . . . . . : 2001:DB8:abcd:0:202:2dff:fe87:4352 IP Address. . . . . . . . . . . . : fe80::202:2dff:fe87:4352%4 Default Gateway . . . . . . . . . : 192.168.1.1 fe80::2a0:deff:fe30:70e8%4 Ethernet adapter ローカルエリア接続: Media State . . . . . . . . . . . : Media disconnected Tunnel adapter Teredo Tunneling Pseudo-Interface: Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : fe80::5445:5245:444f%7 Default Gateway . . . . . . . . . :
もしくは
ipv6 if
結果例(長い、、)
C:\Documents and Settings\HELPDESK>ipv6 if Interface 7: Teredo Tunneling Pseudo-Interface Guid {09215A8F-0531-4A37-9A62-46308364F0B5} cable unplugged uses Neighbor Discovery uses Router Discovery routing preference 2 link-layer address: 0.0.0.0:0 preferred link-local fe80::5445:5245:444f, life infinite multicast interface-local ff01::1, 1 refs, not reportable multicast link-local ff02::1, 1 refs, not reportable link MTU 1280 (true link MTU 1280) current hop limit 128 reachable time 41000ms (base 30000ms) retransmission interval 1000ms DAD transmits 0 default site prefix length 48 Interface 4: Ethernet: ワイヤレス ネットワーク接続 8 Guid {B6D7DC80-55A8-4A9F-B952-D38A61E49FB1} uses Neighbor Discovery uses Router Discovery link-layer address: 00-02-2d-87-43-52 preferred global 2001:DB8:abcd:0:74ba:e9ed:aec:56a4, life 6d21h43m3s/21h40m16s (temporary) preferred global 2001:DB8:abcd:0:202:2dff:fe87:4352, life 29d23h59m36s/6d23h59m36s (public) preferred link-local fe80::202:2dff:fe87:4352, life infinite multicast interface-local ff01::1, 1 refs, not reportable multicast link-local ff02::1, 1 refs, not reportable multicast link-local ff02::1:ff87:4352, 2 refs, last reporter multicast link-local ff02::1:ffec:56a4, 1 refs, last reporter link MTU 1500 (true link MTU 1500) current hop limit 64 reachable time 23000ms (base 30000ms) retransmission interval 1000ms DAD transmits 1 default site prefix length 48 Interface 3: 6to4 Tunneling Pseudo-Interface Guid {A995346E-9F3E-2EDB-47D1-9CC7BA01CD73} does not use Neighbor Discovery does not use Router Discovery routing preference 1 link MTU 1280 (true link MTU 65515) current hop limit 128 reachable time 40500ms (base 30000ms) retransmission interval 1000ms DAD transmits 0 default site prefix length 48 Interface 2: Automatic Tunneling Pseudo-Interface Guid {48FCE3FC-EC30-E50E-F1A7-71172AEEE3AE} does not use Neighbor Discovery does not use Router Discovery routing preference 1 EUI-64 embedded IPv4 address: 0.0.0.0 router link-layer address: 0.0.0.0 link MTU 1280 (true link MTU 65515) current hop limit 128 reachable time 37000ms (base 30000ms) retransmission interval 1000ms DAD transmits 0 default site prefix length 48 Interface 1: Loopback Pseudo-Interface Guid {6BD113CC-5EC2-7638-B953-0B889DA72014} does not use Neighbor Discovery does not use Router Discovery link-layer address: preferred link-local ::1, life infinite preferred link-local fe80::1, life infinite link MTU 1500 (true link MTU 4294967295) current hop limit 128 reachable time 18000ms (base 30000ms) retransmission interval 1000ms DAD transmits 0 default site prefix length 48
■WindowsXP全般
コマンドプロンプトで
ping 通信相手のIPv6アドレス(例えば、www.kame.net)
結果例
C:\Documents and Settings\HELPDESK>ping www.kame.net Pinging www.kame.net [2001:200:0:8002:203:47ff:fea5:3085] with 32 bytes of data: Reply from 2001:200:0:8002:203:47ff:fea5:3085: time=8ms Reply from 2001:200:0:8002:203:47ff:fea5:3085: time=8ms Reply from 2001:200:0:8002:203:47ff:fea5:3085: time=10ms Reply from 2001:200:0:8002:203:47ff:fea5:3085: time=8ms Ping statistics for 2001:200:0:8002:203:47ff:fea5:3085: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 8ms, Maximum = 10ms, Average = 8ms
もしくは
ping6 通信相手のIPv6アドレス(例えば、www.kame.net)
ping6を使うとSourceAddress?が表示されるから便利。
結果例
C:\Documents and Settings\HELPDESK>ping6 www.kame.net Pinging www.kame.net [2001:200:0:8002:203:47ff:fea5:3085] from 2001:DB8:abcd:0:74ba:e9ed:aec:56a4 with 32 bytes of data: Reply from 2001:200:0:8002:203:47ff:fea5:3085: bytes=32 time=7ms Reply from 2001:200:0:8002:203:47ff:fea5:3085: bytes=32 time=8ms Reply from 2001:200:0:8002:203:47ff:fea5:3085: bytes=32 time=8ms Reply from 2001:200:0:8002:203:47ff:fea5:3085: bytes=32 time=8ms Ping statistics for 2001:200:0:8002:203:47ff:fea5:3085: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 7ms, Maximum = 8ms, Average = 7ms
ただし、リンクローカルアドレスにpingを打つときはスコープID(↓の例だと最後の「%4」のこと)が必要。
ping fe80::2a0:deff:fe30:70e8%4
スコープIDは、%インターフェースIDのこと。
インターフェースIDは、ipv6 if の結果で表示された番号のこと。
Interface 4: Ethernet: ワイヤレス ネットワーク接続 8
だったら %4