这里有一些奇怪的问题,我通过 DHCP 获得了一个 ipv6 地址,但是 ping ipv6.google.com 时网络无法访问。同一屋子里使用 windows7 的其他人的 ipv6 工作正常。所以,我的 ubuntu 配置似乎存在一些错误。顺便说一句,我的电脑上安装了 vmware,vmware 中的 windows7 也可以获取 ipv6 地址并正常工作(使用桥接网络)。
我将在这里提供一些信息。
ifconfig -a eth0
eth0 Link encap:Ethernet HWaddr 00:25:22:de:5b:50
inet addr:114.212.203.128 Bcast:114.212.207.255 Mask:255.255.248.0
inet6 addr: 2001:da8:1007:4001::3:373d/128 Scope:Global
inet6 addr: fe80::225:22ff:fede:5b50/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:78747 errors:0 dropped:0 overruns:0 frame:0
TX packets:87348 errors:0 dropped:0 overruns:0 carrier:3
collisions:0 txqueuelen:1000
RX bytes:52280256 (52.2 MB) TX bytes:15413471 (15.4 MB)
ping6 -I eth0 2404:6800:4005:805::100e
PING 2404:6800:4005:805::100e(2404:6800:4005:805::100e) from 2001:da8:1007:4001::3:373d eth0: 56 data bytes
From 2001:da8:1007:4001::3:373d icmp_seq=1 Destination unreachable: Address unreachable
From 2001:da8:1007:4001::3:373d icmp_seq=2 Destination unreachable: Address unreachable
From 2001:da8:1007:4001::3:373d icmp_seq=3 Destination unreachable: Address unreachable
From 2001:da8:1007:4001::3:373d icmp_seq=4 Destination unreachable: Address unreachable
^C
--- 2404:6800:4005:805::100e ping statistics ---
6 packets transmitted, 0 received, +4 errors, 100% packet loss, time 4999ms
ip -6 路由
2001:da8:1007:4001::3:373d dev eth0 proto kernel metric 256
fe80::/64 dev vmnet1 proto kernel metric 256
fe80::/64 dev vmnet8 proto kernel metric 256
fe80::/64 dev eth0 proto kernel metric 256
default via fe80::da49:bff:fe91:e98f dev eth0 proto static metric 1
default via fe80::da49:bff:fe91:e98f dev eth0 proto ra metric 1024 expires 380sec
ip -6 邻居
fe80::da49:bff:fe91:e98f dev eth0 router INCOMPLETE
猫/等/网络/接口
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
iface lo inet6 loopback
那么,有人有想法吗?