Enable IPv6
Configure IP
If you are not using Stateful or Stateless IPv6 address Autoconfiguration you can manually configure your settings using the following commands :
1
| netsh interface ipv6 add address "Local Area Connection 2" [ipv6 address] |
1
| netsh interface ipv6 add route ::/0 "Local Area Connection 2" [default gateway ipv6 address] |
1
| netsh interface ipv6 add dns "Local Area Connection 2" [ipv6 address] |
1
| netsh interface ipv6 add dns "Local Area Connection 2" [ipv6 address] index=2 |
Additonal Commands
You can use the following commands to show all IPv6 routes and the Neighbor Discovery table.
The Neighbor Discovery table is the equivialnt to the arp cache but with IPv6 addresses instead of IPv4. It is also worth noting that Neighbor Discovery is part of ICMP6.
1
| netsh interface ipv6 show neighbors |
1
| netsh interface ipv6 show routes |
DNS
Instead of using A records for DNS like IPv4, IPv6 uses AAAA records for domain to IP name resolution. Below shows a brief example,
1
| C:\Documents and Settings\admin>nslookup |
1
| Default Server: dns1.isp.net.uk |
1
| Non-authoritative answer: |
1
| ipv6.google.com canonical name = ipv6.l.google.com |
1
| ipv6.l.google.com AAAA IPv6 address = 2a00:1450:8006::63 |
1
| ipv6.l.google.com AAAA IPv6 address = 2a00:1450:8006::93 |
1
| ipv6.l.google.com AAAA IPv6 address = 2a00:1450:8006::68 |
Ping
You can use the standard ping command to ping a IPv6 IP. But you will need to use the “-6” ping switch to ping a IPv6 name.
1
| C:\Documents and Settings\admin>ping -6 ipv6.google.com |
1
| Pinging ipv6.l.google.com [2a00:1450:8006::93] with 32 bytes of data: |
1
| Reply from 2a00:1450:8006::93: time=35ms |
1
| Reply from 2a00:1450:8006::93: time=39ms |
1
| Reply from 2a00:1450:8006::93: time=34ms |
1
| Reply from 2a00:1450:8006::93: time=34ms |
1
| Ping statistics for 2a00:1450:8006::93: |
1
| Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), |
1
| Approximate round trip times in milli-seconds: |
1
| Minimum = 34ms, Maximum = 39ms, Average = 35ms |
1
| C:\Documents and Settings\admin>ping 2a00:1450:8006::93 |
1
| Pinging 2a00:1450:8006::93 with 32 bytes of data: |
1
| Reply from 2a00:1450:8006::93: time=34ms |
1
| Reply from 2a00:1450:8006::93: time=33ms |
1
| Reply from 2a00:1450:8006::93: time=35ms |
1
| Reply from 2a00:1450:8006::93: time=34ms |
1
| Ping statistics for 2a00:1450:8006::93: |
1
| Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), |
1
| Approximate round trip times in milli-seconds: |
1
| Minimum = 33ms, Maximum = 35ms, Average = 34ms |