返回信息流情况是这样,需要用Ubuntu虚拟机通过ipv6去翻墙上google的服务器下载Android源码。
目前虚拟机使用桥接模式,可以获取ipv6地址,traceroute6第一跳没问题,之后就不行了。
求大神解答,是学校路由的问题吗?
hoo@ubuntu:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:56:22:e0:0f
inet addr:10.8.67.86 Bcast:10.8.95.255 Mask:255.255.224.0
inet6 addr: fe80::250:56ff:fe22:e00f/64 Scope:Link
inet6 addr: 2001:da8:215:6110:250:56ff:fe22:e00f/64 Scope:Global
inet6 addr: 2001:da8:215:6110:6d5c:658f:a672:6f31/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7998 errors:0 dropped:0 overruns:0 frame:0
TX packets:1166 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:572724 (572.7 KB) TX bytes:146732 (146.7 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1732 errors:0 dropped:0 overruns:0 frame:0
TX packets:1732 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:150552 (150.5 KB) TX bytes:150552 (150.5 KB)
----------------------------------------------------------------------------------------
hoo@ubuntu:~$ route -A inet6
Kernel IPv6 routing table
Destination Next Hop Flag Met Ref Use If
2001:da8:215:6110::/64 :: UAe 256 0 0 eth0
fe80::/64 :: U 256 0 0 eth0
::/0 fe80::5639:dfff:fece:e9a1 UG 1 0 0 eth0
::/0 fe80::5639:dfff:fece:e9a1 UGDAe 1024 0 0 eth0
::/0 :: !n -1 1 291 lo
::1/128 :: Un 0 3 68 lo
2001:da8:215:6110:250:56ff:fe22:e00f/128 :: Un 0 1 0 lo
2001:da8:215:6110:6d5c:658f:a672:6f31/128 :: Un 0 1 0 lo
fe80::250:56ff:fe22:e00f/128 :: Un 0 1 2 lo
ff00::/8 :: U 256 1 0 eth0
::/0 :: !n -1 1 291 lo
----------------------------------------------------------------------------------------
hoo@ubuntu:~$ traceroute6 ipv6.google.com
traceroute to ipv6.l.google.com (2404:6800:4005:801::200e) from 2001:da8:215:6110:6d5c:658f:a672:6f31, 30 hops max, 24 byte packets
1 * ** ** *
2 * ** ** *
3 * ** ** *
----------------------------------------------------------------------------------------------
问题已解决:
后来发现是ubuntu虚拟机的路由ipv6地址出了问题(能获取ipv6公网地址,traceroute6能实现第一跳,ping能返回一个ip)。
解决方案:
1.在windows主机上tracert几个ipv6的地址后,获得正确的路由地址:2001:da8:215:6110::1
另外查看了一下网络连接的default router和路由器表,Ubuntu所走的地址均是:fe80::5639:dfff:fece:e9a1,确定是路由地址的问题。
C:\Users\henry-acer>tracert bt.byr.cn
通过最多 30 个跃点跟踪
到 bt.byr.cn [2001:da8:215:4078:250:56ff:fe97:654d] 的路由:
1 16 ms 6 ms 5 ms 2001:da8:215:6110::1
2 3 ms 2 ms 2 ms 2001:da8:215:0:10:0:14:1
2.在Ubuntu的网络设置中给ipv6手动添加正确的router地址。
3.重启(断开重连)网络,ipv6连接保持稳定。
这是一条镜像帖。来源:北邮人论坛 / www-technology / #34964同步于 2016/3/22
该镜像源已超过 30 天没有更新,可能在源站已被删除。
WWWTechnology机器人发帖
vmware ubuntu虚拟机ipv6问题
h497018787
2016/3/22镜像同步7 回复
订阅后,新回复会通过你的通知中心匿名送达。
7 条回复
Android源码不是在Google服务器上么,有源可以用么?目前用的是https://android.googlesource.com/
【 在 stevesasuke 的大作中提到: 】
: 为什么不用教育网的源??
: 通过『我邮2.0』发布