The pace of ipv6 is getting closer and closer. One day we will say goodbye to ipv4 and embrace ipv6. In fact, ipv6 is already of great practical value in some fields. I believe that some people are still a little unfamiliar with the settings of ipv6. The settings in some posts on the Internet may only be useful in a particular network environment, but will not work in other network environments. After a few days of exploration, I summarized a relatively common configuration method. . Of course, there are still flaws. The intranet environment created by the mobile router seems to be unusable. This is a problem with the network provider's settings. Local settings cannot break through the network provider's restrictions. The only option is ipv6tunnel, which will not be discussed here. If anyone is interested, you can contact me separately.
Now start configuring win7 to support ipv6 access. The rest of the system configuration methods are basically the same and can be used as a reference.
Go to "Control Panel" and click "System and Security"
General setting method of ipv6 in win7 system
2
Select "windows firewall"
Common setting method for ipv6 in win7 system
3
Select "Restore default settings"
Common setting method of ipv6 in win7 system
4
Click "Restore default settings"
General setting method of ipv6 in win7 system
5
Click "Start" in the lower left corner of the system window, select "Run" on the right, come to the run window, enter "gpedit.msc" as shown in the figure
The general setting method of ipv6 in win7 system
After running, the Group Policy Editor window will pop up, and select "Administrative Templates" - "Network" - "TCP/IP Settings" - "IPV6 Conversion Technology" as shown in the figure. All setting items on the right are changed to "Not configured". close the window
General setting method for ipv6 in win7 system
Go to the "Control Panel" again and click "View Network Status and Tasks"
Common setting method for ipv6 in win7 system
Select "Change Adapter Settings"
The general setting method of ipv6 in win7 system
Right-click on the network you are using, as shown in the picture "Wireless Network Connection". Please note that the network name you are using may be different.
The general setting method of ipv6 in win7 system
Select "Properties" in the right-click menu to come to the properties window. Modify the properties of TCP/IPV4 and TCP/IPV6 respectively as shown below.
The general setting method of ipv6 in win7 system
The general setting method of ipv6 in win7 system
The general setting method of ipv6 in win7 system
To perform one-click batch processing to turn on IPV6, please save the following command as IPV6. BAT file and execute
@echo off
net start "ip helper"
netsh int ipv6 reset
netsh int teredo set state default
netsh int 6to4 set state default
netsh int isatap set state default
netsh int teredo set state server=teredo.remlab.net
netsh int ipv6 set teredo enterpriseclient
netsh int ter set state enterpriseclient
route DELETE ::/0
netsh int ipv6 add route ::/0 "Teredo Tunneling Pseudo-Interface"
netsh int ipv6 set prefix 2002::/16 30 1
netsh int ipv6 set prefix 2001::/32 5 1
Reg add HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesDnscacheParameters /v AddrConfigControl /t REG_DWORD / d 0 /f
netsh int teredo set state default
netsh int 6to4 set state default
netsh int isatap set state default
netsh int teredo set state server=teredo.remlab.net
netsh int ipv6 set teredo enterpriseclient
netsh int ter set state enterpriseclient
route DELETE ::/0
netsh int ipv6 add route ::/0 "Teredo Tunneling Pseudo-Interface"
netsh int ipv6 set prefix 2002::/16 30 1
netsh int ipv6 set prefix 2001::/32 5 1
Reg add HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesDnscacheParameters /v AddrConfigControl /t REG_DWORD /d 0 /f
ipconfig /all
ip config/ flushdns
netsh int ipv6 show teredo
netsh int ipv6 show route
netsh int ipv6 show int
netsh int ipv6 show prefix
netsh int ipv6 show address
route print
cmd
After executing the IPV6.bat command, you should be able to access ipv6. Now let’s check the status of ipv6. Come to the "Run" window again and enter "CMD"
The general setting method of ipv6 in win7 system
Enter "netsh int ipv6 show teredo state" in the pop-up DOS window. Check the ipv6 status. If it is "qualified", it means that the ipv6 setting of the machine has been successful.
Common setting method of ipv6 in win7 system
Now let’s test it, open your usual browser and enter the URL “http://test-ipv6.com”
If there is a warning window, please ignore it and click here directly
General setting method of ipv6 in win7 system
View the test results, focusing on the two items circled. bingo. . . Welcome to the world of ipv6
The general setting method of ipv6 in win7 system
END
Notes
It has been tested that it is valid for most internal network and all external network users. It is only invalid for a very small number of mobile routing users
It is recommended to keep the generated bat file. If there is a problem with ipv6 access one day, just execute it again.
Available for personal testing.
Reference from: https://jingyan.baidu.com/article/2f9b480dfc24bd41cb6cc22f.html