Simple command line lets you easily turn off IPv6 tunnels under Win7

  
                

IP (Internet Protocol) is the backbone of the Internet. This is a fact that many people know, but it is not known that IPv6 is an IPv4 upgrade. Once IPv6 is put into use, it seems that all hosts on the network must be upgraded. . Many professionals are working on the design of IPv6 and the protocols and mechanisms supported by IPv6 to achieve a decent and gradual upgrade. If the existing network can be upgraded to IPv6 in an orderly and sensible manner, the impact of the upgrade may be small.


IPv6 tunneling encapsulates IPv6 packets in IPv4 packets and allows IPv6 packets to communicate through the IPv4 network. For the device with the tunnel technology, the IPv6 datagram is encapsulated into the IPv4 address at the entrance of the tunnel. The source and destination addresses of the IPv4 packet are the IPv4 address of the tunnel entry and the tunnel exit respectively.

At the exit of the tunnel, the IPv6 packets are forwarded and forwarded to the destination node. Tunneling technology only requires modifications at the entrance and exit of the tunnel. It is not required for other parts and is easy to implement. However, tunneling technology cannot achieve direct communication between IPv4 hosts and IPv6 hosts.

The main difference between configuring a tunnel and an automatic tunnel is that automatic tunneling is only possible when the IPv6 address of the node performing the tunnel function is an IPv4-compatible address. The automatic tunneling method does not need to be configured when the IP address is established for the node performing the tunnel function. The tunneling method requires the tunnel end node to use other mechanisms to obtain its IPv4 address, for example, D H C P, manual configuration or other IPv4 configuration mechanism.

If you are using a laptop, often debug the network. Windows7 will spontaneously establish an IPV6 tunnel. Usually we will see many tunnels with ipconfig /all. For example, I have more than 40 tunnels here. If I want to see IPv4 information, it will flash over and cause inconvenience. . This is because Windows 7 needs to use one or more IPv6 transition technologies during the IPv6 migration process. We can manually close the IPv6 tunnel.

We only use the following three commands to close the IPv6 interface.

netsh interface teredo set state disable

netsh interface 6to4 set state disabled

netsh interface isatap set state disabled

To restore an IPv6 tunnel, use the following command:

netsh interface teredo set state default

netsh interface 6to4 set state default

netsh interface isatap set state default

Copyright © Windows knowledge All Rights Reserved