【发布时间】:2015-06-09 11:23:10
【问题描述】:
我创建了一个自定义 Buildroot 2015.01 发行版,其中包含 3.10.0 Linux 内核,并在工具链和 uClibc 库中启用了 IPv6 支持。
尝试联系任何 IPv6 路由地址时会发生奇怪的行为,例如:
# wget google.com
Connecting to google.com ([2a00:1450:4002:809::200e]:80)
wget: can't connect to remote host: Network is unreachable
但是,如果我在非 IPv6 地址上尝试相同的操作,则一切正常:
# wget abc.com
Connecting to abc.com (199.181.132.250:80)
Connecting to abc.go.com (23.21.209.55:80)
index.html 100% |*******************************| 46408 0:00:00 ETA
这是 IPv6 内核路由表:
# route -A inet6
Destination Next Hop Flags Metric Ref Use Iface
::1/128 :: U 0 0 1 lo
fe80::20a:a5ff:fe12:3446/128 :: U 0 0 1 lo
fe80::/64 :: U 256 0 0 eth0
ff02::1:ffdc:adf/128 :: UC 0 1 0 eth0
ff02::1:fff4:5e3d/128 :: UC 0 1 0 eth0
ff00::/8 :: U 256 0 0 eth0
IPv4 一:
# route -A inet
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.0.230 0.0.0.0 UG 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
任何帮助或建议将不胜感激。
【问题讨论】:
标签: linux routing ipv6 buildroot