Configuring IPv6 in Windows 7 Using Netsh
To configure the IPv6 settings for a network connection in Windows 7 using the Netsh.exe command, open a Command Prompt window with local administrator credentials and type the appropriate Netsh.exe command from the netsh interface ipv6 context. Some examples of IPv6 configuration tasks that can be performed from this context include:
- To add the unicast IPv6 address 2001:DB8::8:800:20C4:0 to the interface named Local
Area Connection as a persistent IPv6 address with infinite Valid and Preferred Lifetimes,
type the following command.
netsh interface ipv6 add address "Local Area Connection" 2001:DB8::8:800:20C4:0
- To configure a default gateway with unicast IPv6 address 2001:DB8:0:2F3B:2AA:FF:FE
28:9C5A for the interface named Local Area Connection, add a default route with this
address specified as a next-hop address by typing the following command.
netsh interface ipv6 add route ::/0 "Local Area Connection" 2001:DB8:0:2F3B:2AA:F F:FE28:9C5A
- To configure a DNS server with unicast IPv6 address 2001:DB8:0:1::1 as the second
(alternate) DNS server on the list of DNS servers for the interface named Local Area
Connection, type the following command.
netsh interface ipv6 add dnsserver "Local Area Connection" 2001:DB8:0:1::1 index=2
For more information on using the netsh interface ipv6 context, type netsh interface ipv6 ? at a command prompt.
In this tutorial:
- Deploying IPv6
- Understanding IPv6
- Understanding IPv6 Terminology
- Understanding IPv6 Addressing
- Understanding IPv6 Prefixes
- Understanding IPv6 Address Types
- Understanding Unicast Addresses
- Identifying IPv6 Address Types
- Understanding Interface Identifiers
- Comparing IPv6 with IPv4
- Understanding IPv6 Routing
- How IPv6 Routing Works
- IPv6 Route Determination Process
- IPv6 Routing Table Structure
- Understanding ICMPv6 Messages
- Understanding Neighbor Discovery
- Understanding Address Autoconfiguration
- Understanding Name Resolution
- Understanding Name Queries
- Understanding Name Registration
- PTR Records and IPv6
- IPv6 Enhancements in Windows 7
- Summary of IPv6 Enhancements in Windows 7
- Configuring and Troubleshooting IPv6 in Windows 7
- Configuring IPv6 in Windows 7 Using the User Interface
- Configuring IPv6 in Windows 7 Using Netsh
- Other IPv6 Configuration Tasks
- Enabling or Disabling IPv6
- Disabling Random Interface IDs
- Resetting IPv6 Configuration
- Displaying Teredo Client Status
- Troubleshooting IPv6 Connectivity
- Planning for IPv6 Migration
- Blocking Teredo
- Understanding ISATAP
- Migrating an Intranet to IPv6
- Step 1: Upgrading Your Applications and Services
- Step 2: Preparing Your DNS Infrastructure
- Step 3: Upgrading Your Hosts
- Step 4: Migrating from IPv4-only to ISATAP
- Step 5: Upgrading Your Routing Infrastructure
- Step 6: Upgrading Your DHCP Infrastructure
- Step 7: Migrating from ISATAP to Native IPv6
- The Advantages of IPv6
- Address Resolution in IPv6