If you are using a notebook and often debug the network. In WINDOWS, an IPV6 tunnel is automatically created. Usually we can see many tunnels using ipconfig/all. For example, if I have more than 40 tunnels and want to view ipv4 information, it will flash and cause inconvenience to use. This is because one or more IPv6 transition technologies are required for windows during IPv6 migration. Use the following three commands to disable the ipv6 interface: CODE:
netsh interface teredo set state disablenetsh interface 6to4 set state disablednetsh interface isatap set state disabled
Appendix: we only need to use the following three commands to disable the IPv6 interface.
Netsh interface teredo set state disable // netsh interface disable Teredo setting status netsh interface 6to4 set state disabled // netsh interface 6to4 setting status disable netsh interface isatap set state disabled // netsh interface isatap setting status disabled
To restore an IPv6 tunnel, run the following command:
Netsh interface teredo set state default // default state of the Teredo interface netsh interface 6to4 set state default // 6to4 of the netsh interface default state netsh interface isatap set state default // netsh interface isatap default setting status
If you plan to migrate data to IPV6, the following describes precautions when preparing plans for ISATAP, 6to4, and Teredo. 1. By default, the ISATAP host uses DNS and other IP Address Resolution technologies to resolve the ISATAP to an IPv4 address to obtain the IPv4 address of the ISATAP router. Once the host determines the IP address of the ISATAP router, it uses IPv4 unicast information to obtain automatic configuration information from the router. To ensure that the client can find the ISATAP router, you can plan to use the following technology: ■ if the ISATAP router is a computer, configure the name of the computer as ISATAP. ■ Create a DNS entry for each DNS domain. ■ Add an entry in Hosts. ■ Create a static WINS record. ■ Run the netsh command on all ISATAP hosts. For more details, see \ "configure a computer as an ISATAP router \" in section 2.3.7. 2.6to46to4 allows access to the IPv6 Internet using an existing IPv4 Internet connection. 6to4 requires a 6to4 router and a public IPv4 address (for example, the IP address assigned by the ISP ). A vroipv4 that only supports IPv4 cannot be regarded as a 6to4 vro. Therefore, if you are using a router that only supports IPv4 to access the Internet, you need to upgrade or replace the router. Before obtaining the support of 6to4 or Teredo for the upgrade investment, you should assess whether the benefits of connecting to the IPv6 Internet have exceeded the cost. Unless the required resources cannot be obtained from the IPv4 Internet and must access the IPv6 Internet, connecting to the IPv6 Internet may not receive any practical benefits. Generally, public IPv6 Internet resources (such as websites) can also be obtained from IPv4 Internet. 3. If Teredo does not have a 6to4 router that uses a public IPv4 address, you can use Teredo to provide IPv6 Internet connection to the host. To get the best results when using Teredo, you can select a conical or restricted NAT that supports UDP port conversion and avoid using Symmetric NAT. When Teredo is implemented, you may find that you need to change the NAT or firewall configuration. Therefore, you should be prepared to work with the network administrator to provide the required connection. You can use Microsoft's Internet Connectivity Evaluation Tool (Internet Connectivity Evaluation Tool) to determine whether the current NAT supports Teredo. To use this online tool, you can open the website http://www.microsoft.com/windows/using/tools/igd/in Microsoft Windows Internet Explorer and follow the prompts to proceed.