win7 开启ipv6

win7 开启ipv6

win7 设备管理器中 未发现"Tunneling Pseudo-Interface" 安装 Tunneling Pseudo-Interface: 参考 说明 操作,重启电脑之前我把提到的几个服务都给设置成了自动.

First, let’s temporarily disable antivirus software and Firewall on the computer as a test. Note: Make sure you turn-on the antivirus software and Windows Firewall later. Now, let’s verify the status of relevant services required.

  • Click Start , type services.msc in Start search box and hit Enter.
  • Right-click the Peer Networking Grouping service and select Properties .
  • Check if the service is started; if not, right-click and select Start .
  • You may also set the Startup type to Automatic under Properties .
  • Click OK .
  • Repeat the above steps for the service PNRP Machine Name Publication Service , too.

Next step would be to modify IPv6 registry key to enable IPV6: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base: How to back up and restore the registry in Windows http://support.microsoft.com/kb/322756/

  • Click Start , type regedit in Start Search Bar and hit Enter. Note: If you are prompted for an administrator password or confirmation, type your password or click Continue.
  • Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters
  • Check whether DisabledComponents registry key exists. If yes, let's proceed to the next step. Double click the DisabledComponents registry key and modify the value to 0 . If the DisabledComponents entry is unavailable, you must create it. To do this, follow these steps:
  1. In the Edit menu, point to New , and then click DWORD (32-bit) Value .
  2. Type DisabledComponents , and then press ENTER.
  3. Double-click DisabledComponents . Type 0 to enable all IPv6 components. 4.Exit Registry Editor, and then restart the computer.

Refer: How to disable certain Internet Protocol version 6 (IPv6) components in Windows Vista, Windows 7 and Windows Server 2008

重启电脑

剩下的开启步骤 参见 本机器执行了脚本就可以了,并没有配置dns等参数.

~ @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_MACHINE\SYSTEM\CurrentControlSet\services\Dnscache\Parameters /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_MACHINE\SYSTEM\CurrentControlSet\services\Dnscache\Parameters /v AddrConfigControl /t REG_DWORD /d 0 /f

ipconfig /all ipconfig /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

~

teredo

其他问题 参见

转载于:https://my.oschina.net/fuckmylife0/blog/1576490

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值