不能调用IPV6 HOSTS的地址,仍然延用IPV4的地址是怎么回事
本帖最后由 wyun96711256 于 2011-8-24 08:11 编辑我是家庭个人电脑,XP GHOST系统,按照坛里的顶置贴一步步测试认应该是IPV6通了,输入IPV6的地址后,不能PING出YOUTUBE的地址,可以ping出www.google.com的地址但是这个地址是ipv4的,而不是ipv6的hosts指定地址,不知道怎么回事,是不是要换teredo的服务器?请教导师,严格按坛里规矩提供以下完整信息:
1ipconfig/all
C:\Documents and Settings\Administrator>ipconfig/all
Windows IP Configuration
Host Name . . . . . . . . . . . . : PC-200912261600
Primary Dns Suffix. . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter 本地连接:
Connection-specific DNS Suffix. :
Description . . . . . . . . . . . : Realtek RTL8168C(P)/8111C(P) PCI-E G
igabit Ethernet NIC
Physical Address. . . . . . . . . : 00-25-64-EF-33-FE
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.1.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
IP Address. . . . . . . . . . . . : fe80::225:64ff:feef:33fe%4
Default Gateway . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 8.8.8.8
8.8.4.4
fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
Tunnel adapter Teredo Tunneling Pseudo-Interface:
Connection-specific DNS Suffix. :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-F6-11-C4-CB-BE-A6
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 2001:0:4137:9e76:0:f611:c4cb:bea6
IP Address. . . . . . . . . . . . : fe80::ffff:ffff:fffd%5
Default Gateway . . . . . . . . . : ::
NetBIOS over Tcpip. . . . . . . . : Disabled
Tunnel adapter Automatic Tunneling Pseudo-Interface:
Connection-specific DNS Suffix. :
Description . . . . . . . . . . . : Automatic Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : C0-A8-01-02
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : fe80::5efe:192.168.1.2%2
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Disabled
2 netsh interface ipv6 show route
C:\Documents and Settings\Administrator>netsh interface ipv6 show route
正在查询活动状态...
发行 类型 Met 前缀 索引网关/接口名
-------------------------------------------------------------------
no Autoconf 102001::/32 5Teredo Tunneling Pseudo-
Interface
yes 手动 1101::/0 32002:ca70:1af6::ca70:1
af6
no Autoconf 10::/0 5Teredo Tunneling Pseudo-
Interface
3 ping -6fe80::5efe:192.168.1.2%2
C:\Documents and Settings\Administrator> ping -6fe80::5efe:192.168.1.2%2
Pinging fe80::5efe:192.168.1.2%2 with 32 bytes of data:
Reply from fe80::5efe:192.168.1.2%2: time<1ms
Reply from fe80::5efe:192.168.1.2%2: time<1ms
Reply from fe80::5efe:192.168.1.2%2: time<1ms
Reply from fe80::5efe:192.168.1.2%2: time<1ms
Ping statistics for fe80::5efe:192.168.1.2%2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
4 ping -6 ipv6.google.com
C:\Documents and Settings\Administrator>ping -6 ipv6.google.com
Pinging ipv6.l.google.com with 32 bytes of data:
Reply from 2404:6800:8005::6a: time=1401ms
Reply from 2404:6800:8005::6a: time=405ms
Reply from 2404:6800:8005::6a: time=412ms
Reply from 2404:6800:8005::6a: time=428ms
Ping statistics for 2404:6800:8005::6a:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 405ms, Maximum = 1401ms, Average = 661ms
5 tracert -6 ipv6.google.com
C:\Documents and Settings\Administrator>tracert -6 ipv6.google.com
Tracing route to ipv6.l.google.com
over a maximum of 30 hops:
1 * 1438 ms * 6to4.hkg1.he.net
2 431 ms * 428 msgige-g3-14.core1.hkg1.he.net
3 431 ms 432 ms * google3-10G.hkix.net
4 * * * Request timed out.
5 426 ms * 435 ms2001:4860::2:0:119c
6 447 ms 427 ms 422 ms2001:4860:0:1::df
7 431 ms 436 ms * www.google.com
8 428 ms * 994 mswww.google.com
Trace complete.
PING www.google.com并没有调用IPV6 hosts地址的现象
C:\Documents and Settings\Administrator>ping www.google.com
Pinging www.l.google.com with 32 bytes of data:
Reply from 74.125.71.103: bytes=32 time=67ms TTL=51
Reply from 74.125.71.103: bytes=32 time=65ms TTL=51
Reply from 74.125.71.103: bytes=32 time=65ms TTL=51
Reply from 74.125.71.103: bytes=32 time=68ms TTL=51
Ping statistics for 74.125.71.103:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 65ms, Maximum = 68ms, Average = 66ms
www.youtube.com不能ping通过的现象
C:\Documents and Settings\Administrator>ping www.youtube.com
Pinging www.youtube.com with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 59.24.3.173:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
hosts的样本: 貌似你是使用teredo隧道接入的哦,需要修改hosts文件的,请参考置顶帖中的说明吧,teredo接入的教材中及论坛置顶帖中都有hosts文件的链接。 貌似你是使用teredo隧道接入的哦,需要修改hosts文件的,请参考置顶帖中的说明吧,teredo接入的教材中及论坛置顶帖中都有hosts文件的链接。 回复 3# 满天星
是的,我正是使用teredo访问的,看了你的贴子,但是第一个不能连接到下载页面,显示出错,第二个,我换了IPV6的hosts,问题就是ping的时候不会去调用ipv6的hosts,而是延用ipv4的hosts 首先:hosts根本不区分ipv4或ipv6,如果你还是ipv4则必然你hosts没有修改正确,请确认你的方法和步骤!建议你仔细查看论坛帖子,谢谢,这些是基础知识,与ipv6无任何关系!
其次:下载hosts的链接需要帆墙后访问! 因为无法翻墙,我将你的坛里可见的ipv6 HOSTS地址复制到一个新建的文本文档,修改为HOSTS直接放到ETC文件夹当中覆盖原文件,结果仍然不能调用IPV6的地址 确认路径位置、文件名称、文件格式等,如果修改成功的话,ping hosts中的地址肯定会直接显示ipv6地址的,而不会是ipv4哦,除非你是加的hosts文件中没有你ping的地址,或者已经用#注释掉了!
建议你仔细查看说明,这些是基本知识,谢谢! 确认路径位置、文件名称、文件格式等,如果修改成功的话,ping hosts中的地址肯定会直接显示ipv6地址的,而 ...
满天星 发表于 2011-8-21 11:01 http://ipv6.ipv6bbs.cn/images/common/back.gif
应该是正确的,我已上传附件,你可以帮我看看 hosts文件应该是没有问题的,需要确认的是你存放的目录是否正确才对!比如是否放在操作系统下c:\windows\system32\drivers\etc\
如果操作系统不在c盘等,最简单的验证方法就是任意在hosts中添加一条记录,比如
1.2.3.4 www.abc.com
然后ping www.abc.com,如果显示地址为1.2.3.4就OK了,当然这个地址是无法ping通的哦,只需要验证将域名解析成你修改的地址了,则说明hosts文件生效了。 hosts文件一直无法生效,郁闷,这是什么情况……
页:
[1]
2