302010

至于什么是ipv6,为什么使用ipv6,我就不扫盲了。大家可以Google或者百度。

1.首先要确定你的网络支持ipv6。你可以访问

http://ipv6.google.com/(只支持ipv6)或者http://www.kame.net/(ipv6访问看到的乌龟会动)。

2.然后就是获得Google的ipv6地址。网上给的2001:4860:c004::68我这不能用。可以通过ping ipv6.google.com获得:

Pinging www.l.google.com [2404:6800:8003::63] with 32 bytes of data:

Reply from 2404:6800:8003::63: time=140ms
Reply from 2404:6800:8003::63: time=145ms
Reply from 2404:6800:8003::63: time=139ms
Reply from 2404:6800:8003::63: time=137ms

Ping statistics for 2404:6800:8003::63:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 137ms, Maximum = 145ms, Average = 140ms

3.修改 hosts 文件。windows xp系统路径为X:WINDOWS/system32/drivers/etc。X为系统所在盘符。用UltraEdit或者其他编辑器打开(最好别用记事本),在末尾添加如下内容:

#Google
2404:6800:8003::63 www.google.com
2404:6800:8003::63 www.google.com.tw
2404:6800:8003::63 clients1.google.com
2404:6800:8003::63 mail.google.com

保存退出。因为修改了系统文件,部分杀毒软件可能会报警,比如卡巴,允许即可。

4.刷新DNS缓存

在命令行下执行:ipconfig /flushdns

然后访问www.google.com和mail.google.com走得就是ipv6的路线了。

UPDATE1:嫌麻烦的话直接复制http://docs.google.com/View?id=dfkdmxnt_61d9ck9ffq的内容到hosts文件即可。注意编码和注释。

相关日志

Leave a Reply

(required)

(required)

click to change(必须)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Protected by WP Anti Spam
© 2009 - 2018 冰河的博客