分页: 1 / 1

ubuntu无法访问ipv6了

发表于 : 2011-05-07 14:48
hbxtght
miredo已经安装,/etc/default/ufw中ipv6=yes
ipv6.google.com可以打开
就是访问不了其他的ipv6站
比如晨光BT,我校的PT
ping googleipv6如下

ght@ght-Inspiron-N5010:~$ ping6 ipv6.google.com
PING ipv6.google.com(2404:6800:8005::63) 56 data bytes
64 bytes from 2404:6800:8005::63: icmp_seq=2 ttl=58 time=491 ms
64 bytes from 2404:6800:8005::63: icmp_seq=1 ttl=58 time=1492 ms
64 bytes from 2404:6800:8005::63: icmp_seq=3 ttl=58 time=356 ms
64 bytes from 2404:6800:8005::63: icmp_seq=4 ttl=58 time=357 ms
64 bytes from 2404:6800:8005::63: icmp_seq=5 ttl=58 time=358 ms
^C
--- ipv6.google.com ping statistics ---
6 packets transmitted, 5 received, 16% packet loss, time 5001ms
rtt min/avg/max/mdev = 356.691/611.456/1492.001/443.323 ms, pipe 2
ping我们学校的PT如下
ght@ght-Inspiron-N5010:~$ ping6 pt.nwsuaf6.edu.cn
PING pt.nwsuaf6.edu.cn(2001:250:1002::7) 56 data bytes
From 2001:0:53aa:64c:241a:4f3e:8e73:ab91 icmp_seq=11 Destination unreachable: Address unreachable
From 2001:0:53aa:64c:241a:4f3e:8e73:ab91 icmp_seq=12 Destination unreachable: Address unreachable
From 2001:0:53aa:64c:241a:4f3e:8e73:ab91 icmp_seq=13 Destination unreachable: Address unreachable
From 2001:0:53aa:64c:241a:4f3e:8e73:ab91 icmp_seq=14 Destination unreachable: Address unreachable
From 2001:0:53aa:64c:241a:4f3e:8e73:ab91 icmp_seq=15 Destination unreachable: Address unreachable
From 2001:0:53aa:64c:241a:4f3e:8e73:ab91 icmp_seq=16 Destination unreachable: Address unreachable

求解

Re: ubuntu无法访问ipv6了

发表于 : 2011-05-07 14:50
月下叹逍遥
修改hosts

Re: ubuntu无法访问ipv6了

发表于 : 2011-05-07 14:54
hbxtght
月下叹逍遥 写了:修改hosts
具体一点,改什么东西?谢谢!

Re: ubuntu无法访问ipv6了

发表于 : 2011-05-07 14:58
月下叹逍遥
修改/etc/hosts文件,将学校的IP和网址添加进去。

Re: ubuntu无法访问ipv6了

发表于 : 2011-05-07 15:23
hbxtght
127.0.0.1 ght-Inspiron-N5010 localhost.localdomain localhost
::1 ght-Inspiron-N5010 localhost6.localdomain6 localhost6
127.0.1.1 ght-Inspiron-N5010

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
这是我的hosts文件,好像没有v6格式的地址,格式是什么阿?

Re: ubuntu无法访问ipv6了

发表于 : 2011-05-07 15:26
月下叹逍遥
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
这些都是IP6的IP

Re: ubuntu无法访问ipv6了

发表于 : 2011-05-07 15:30
hbxtght
问题已经解决,网络连接中auto eth0链接上之后就可以了