让电脑默认使用IPV6

2011年11月7日 | 分类: 翻墙相关 | 标签: , ,

安装IPv6隧道后还需要调整优先级.

查看优先级:netsh int ipv6 sho prefix
默认为:
优先顺序 标签 前缀

———- —– ——————————–
50 0 ::1/128 = localhost
40 1 ::/0 = default (IPv6 native)
30 2 2002::/16 = 6to4 (IPv6)
20 3 ::/96 = IPv4 compatibility
10 4 ::ffff:0:0/96 = IPv4 compatibility
5 5 2001::/32 = Teredo (IPv6)

调整优先级的命令(每行一个)
netsh int ipv6 set prefix ::1/128 50 0
netsh int ipv6 set prefix ::/0 40 1
netsh int ipv6 set prefix 2002::/16 30 1
netsh int ipv6 set prefix ::/96 20 3
netsh int ipv6 set prefix ::ffff:0:0/96 10 4
netsh int ipv6 set prefix 2001::/32 5 1

Win7用户可以直接添加He.net的IPv6 PublicDNS.地址为:2001:470:20::2

但XP不能。
另外听说在命令行下输入:
netsh interface ipv6 add dns “本地连接” 2001:470:20::2
可以配置XP的IPv6 DNS,但我的系统是Win7,所以没试。

关于IPv6的DNS服务器有以下几个可以换:
上海交通大学DNS服务器:
2001:da8:8000:1:202:120:2:100
2001:da8:8000:1:202:120:2:101
北京邮电大学DNS服务器:
2001:da8:202:10::36
2001:da8:202:10::37
北京科技大学DNS服务器:
2001:da8:208:10::6
科技网DNS服务器:
2001:cc0:2fff:2::6
CNNIC DNS服务器:
2001:dc7:1000::1
清华大学DNS服务器:
2001:da8:200:ffff::28
2001:da8:8003:801::1
还有:

2001:15c0:65ff:235::2
2001:15c0:65ff:25b::2

 

最后还需要手动更改系统的host文件.位于C:\Windows\System32\drivers\etc目录下.打开hosts
将你需要的IPv6站点添加进来.

其他系统设置Teredo技巧:http://felixcat.net/2010/04/install-teredo-ipv6/

参考资料:

http://en.wikipedia.org/wiki/Teredo_tunneling#Teredo_servers

http://social.technet.microsoft.com/Forums/en/w7itpronetworking/thread/b4d504c8-2ae9-41f3-bf21-e2e5d7d9704f

http://www.ipv6day.org/action.php?n=En.Configuration-Windows2003

http://www.to91.cn/to-422986475-1295655839

 来源http://www.aregg.com/?p=12043

下面是推友JackA4287586提供的ipv6优先级恢复默认的方法

netsh int ipv6 set prefix ::1/128 50 0

netsh int ipv6 set prefix ::/0 40 1

netsh int ipv6 set prefix 2002::/16 30 2

netsh int ipv6 set prefix ::/96 20 3

netsh int ipv6 set prefix ::ffff:0:0/96 10 4

netsh int ipv6 set prefix 2001::/32 5 5

  1. 2012年1月31日22:54

    要不是我疑心重,不会再来这里,看到回复……
    希望博主有g+

    • iGFW
      2012年2月1日08:40

      感谢支持,暂时没有

  2. 2012年1月26日15:44

    xp下ipv6的dns好像无效。

  3. 2012年1月26日14:52

    虽然是我(JackA4287586)介绍的,但现在看来,调整优先级的命令:
    netsh int ipv6 set prefix ::/0 40 1
    netsh int ipv6 set prefix 2002::/16 30 1
    netsh int ipv6 set prefix 2001::/32 5 1
    这三条好像是说优先级都是1,好像不是最好的设置。

  4. 2012年1月26日14:49

    率先解析ipv6,虽然解决了hosts中ipv6ip的问题,但会不会降低了整体上网速度?

  5. abc
    2011年11月29日18:30

    灰常好的文章,多谢了。

  6. AS
    2011年11月16日02:08

    http://code.google.com/p/libreinternet/downloads/list
    “hosts Latest IPv6 Hosts 4 hours ago 4 hours ago 253 KB
    FreeGate 7.21.exe FreeGate 7.21 4 hours ago 4 hours ago 1.7 MB
    FreeGate 7.20.exe FreeGate 7.20 4 hours ago 4 hours ago 1.8 MB”

    (安装IPv6隧道后还需要调整优先级.)

  7. AS
    2011年11月10日14:55

    https://code.google.com/p/ipv6china/
    “通过ipv6翻墙计划,通过简单的方式安装ipv6然后通过修改浏览器代理实现翻墙的目的,打破GFW封锁 ”
    https://code.google.com/p/ipv6china/downloads/list
    ” main.cpp 源代码 14 hours ago 14 hours ago 1.8 KB
    ipv6china.zip ipv6china1.2 15 hours ago 15 hours ago 118 KB
    xp win7 vista ipv6安装文件1.1.rar ipv6china 1.1 Featured Jul 30 Jul 30 20.4 KB
    xp win7 vista ipv6安装文件.rar ipv6china 1.0 Featured Jul 30 Jul 30 20.6 KB “

  8. AS
    2011年11月8日15:55

    http://sourceforge.net/p/simpleipconfig/home/Home/
    “What is Simple IP Config?
    Simple IP Config is a small utility that allows a user to quickly and easily change the most common network settings on a Windows machine for any network connection. It also displays the current network information for the selected adapter.
    These network settings include:
    – Set static IP address
    – Set subnet mask
    – Set default gateway
    – Set primary and alternate DNS servers
    – Automatically set IP address and DNS server (DHCP)
    This is a simple solution for those who must change IPs frequently for work, home, etc…
    The program is set up with an interface similar to the built-in Windows network configuration screen; however, Simple IP Config offers many more features without the burden of clicking through endless windows.”

    (让电脑默认使用IPV6)

  9. AS
    2011年11月8日15:38

    http://ipchange.net/
    “What is IP Changer?
    IP Changer is a small program to quickly change and view your IP address or DNS/WINS between four different configurations. ”
    “Why should I use IP Changer?
    Fast – Built and optimized specifically for Windows
    Small – Under 1MB, no need to install and quick to download
    FREE – Released as Open Source software, so you’ll never pay a cent!
    No Install – Works straight away no need to install
    Well Supported – Documentation and bug reporting
    Portable application – Use it off a flash drive wherever you want

    Where can i get IP Changer
    Download the latest version of IP Changer right now: 1.7”

    http://sourceforge.net/projects/winipchanger/files/
    “Help Docs 2011-07-10 41 downloads
    Testing 2011-06-12 24.572 downloads
    Stable 2011-03-02 13.784 downloads
    ReallyOld 2011-03-02 8.041 downloads
    FastIPChangerV1.8 Beta release 4.zip 2011-06-12 332.5 kB”

    (让电脑默认使用IPV6)

  10. 匿名
    2011年11月8日00:39

    來看看。。IPV6 搞几次

  11. 新人
    2011年11月7日17:48

    這下好了!謝謝谢谢楼主.不過擔心gfw準備封ipv6了.最近我gogo6連不怎麼上去..不知道怎麼回事!

    • iGFW
      2011年11月7日20:04

      不清楚,gogo6我没在用

    • z235689785
      2011年11月7日21:52

      gogo6的服务器本来就很不稳定(不管是匿名的和要注册的),连不上是他的问题。
      GFW封IPv6这种事情大可不必担心,因为这种协议研究之初,科学家们就考虑到了世界上有方校长这种龟孙子的,所以IPv6不是那么好封锁的——除了DNS污染(可用hosts等方法绕过),和直接封一个IP地址(方校长真要这样干,他的设备只有撑死,我不认为世界上有那么强大的处理能力的防火墙哦亲)

      • 匿名
        2011年11月8日10:27

        国内的六飞已经封了twitter了。

        • iGFW
          2011年11月8日11:52

          国内的毕竟不靠谱

        • Ben
          2011年11月8日14:03

          Twitter原先公布出的一批IPv6地址早就Ping不通了(我试过中国、台湾、荷兰和加拿大4个国家的隧道终点都是一样的结果),估计跟6飞关系不大;不过据可靠情报表明,6飞内部是有上网行为管理的,可记录每个登录用户在访问些什么网站,因此建议尽快放弃使用,投奔gogo6比较好。

          至于gogo6的服务器,其本身提供的服务器很不稳定,就和楼上那位说的一样,但是这种服务器在台湾仍有ISP在免费提供,速度一般,看YouTUBE什么的不太可能,但是一般网页浏览足够了。

          最后再说说IPv6上Twitter的问题:Twitter似乎自身已不再提供IPv6接入,但是通过LITNET-NAT64网段提供的转换代理服务仍然可以成功连接(包括登录和正确使用SSL、运行页面脚本等全部功能);此外Facebook与维基百科也能使用LITNET-NAT64网段提供的转换代理服务来浏览

  12. 小z
    2011年11月7日16:03

    谢谢楼主,学习了。。

    • iGFW
      2011年11月7日16:27

      学会了没有,小朋友,哈哈哈