win10开启IPv6的两种方法

时间:2018-12-17 16:53:32   收藏:0   阅读:2510

1.基于Teredo隧道开启IPv6:
cmd运行。

 

接下来依次输入下列命令来开启ipv6的配置即可:

 

// 设置 Teredo 服务器,默认为:win10.ipv6.microsoft.com

  netsh interface teredo set state enterpriseclient server=default

  

  // 测试 IPv6 连接

  ping -6 ipv6.test-ipv6.com

  ping -6 [2001:470:1:18::125]

 

  // 重置 IPv6 配置

  netsh interface ipv6 reset

 

2.开启IPv6: 
  正常开启cmd 输入 netsh

  netsh>int

netsh>interface>ipv6

netsh>interface>ipv6>isatap

netsh>interface>ipv6>isatap>set router xxxxxxx(xxxxxx用本地网络ipv6路由地址替代)

netsh>interface>ipv6>isatap>set state enabled

netsh>interface>ipv6>isatap>quit

 注:推荐第一个


原文:https://blog.csdn.net/chaoyue12312/article/details/81673316

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!