【转】使用IPv6访问google.com和Gmail(最新)

 

 

 

至于什么是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:WINDOWSsystem32driversetc。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的路线了。

posted @ 2011-06-02 08:00  linux,dev  阅读(653)  评论(0)    收藏  举报