Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于解决重启IPV6失败的问题 #10153

Closed
zhuhaxixiong opened this issue Mar 22, 2018 · 2 comments
Closed

关于解决重启IPV6失败的问题 #10153

zhuhaxixiong opened this issue Mar 22, 2018 · 2 comments

Comments

@zhuhaxixiong
Copy link

步骤可分为两步:
1.先打开注册表保证这两项[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dnscache\Parameters]
"AddrConfigControl"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters]
"DisabledComponents"=dword:00000000,
我的电脑重启之后"DisabledComponents"老是变为00000008,把它改为00000000;
2.第二部就是重新设置teredo,我参照了D:\Program Files\XX-Net-3.10.8\XX-Net-3.10.8\code\default\gae_proxy\local\ipv6_tunnel下IPV6_note.TXT的内容修改了了一下,写了一个teredo.bat文件,以管理员身份运行后就可以了。该文件功能是主要把teredo状态由offline变为dormant,文件内容如下:

net stop "ip helper"
net start "ip helper"
netsh interface ipv6 show teredo
netsh interface teredo set state default
netsh interface 6to4 set state default
netsh interface isatap set state default
netsh interface teredo set state disable
netsh interface 6to4 set state disabled
netsh interface isatap set state disabled
netsh interface Teredo set state type=default
netsh interface teredo set state server=teredo.remlab.net
netsh interface ipv6 set teredo client teredo.remlab.net
netsh interface IPV6 set global randomizeidentifiers=disabled
netsh interface ipv6 set teredo enterpriseclient
netsh int ter set state enterpriseclient
ipconfig /all
ipconfig /flushdns
netsh int ipv6 show int
netsh int ipv6 show route
netsh int ipv6 show teredo
route DELETE ::/0
netsh int ipv6 add route ::/0 "Teredo Tunneling Pseudo-Interface"
netsh int ipv6 show prefix
netsh int ipv6 set prefix 2002::/16 30 1
netsh int ipv6 set prefix 2001::/32 5 1
route print
netsh interface ipv6 show address
netsh interface ipv6 show route
netsh interface ipv6 reset
netsh interface set interface "本地连接" disabled
netsh interface set interface "本地连接" enabled
重启之后执行上面两步就可以实现ipv6接通,打开ipv6测试网站发现有了ipv6,然后就可以开心的使用xx-net了

@ghost
Copy link

ghost commented Mar 22, 2018

老是变为00000008,把它改为00000000——为何老变?貌似有说只读的法子,解决了就没有”第二部“了,万一:禁用再启用网络,稍侯。。。非常时期需要继续
http://127.0.0.1:8085/?module=gae_proxy&menu=advanced 检查 IP。。。
#9783 win7&10 32位😂开机及唤醒几乎秒秒均正常的非组策略😂(非校园)经验(至3.10.4版)
😱更全?#10184

@pendave
Copy link

pendave commented Mar 27, 2018

这个挺好用的:
每次关机或者重启之前操作一下就可以!
#9496 预防开机后IPv6 状态 Fail 及隧道适配器驱动感叹号问题

@SeaHOH SeaHOH closed this as completed May 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants