2015-06-09 38 views
0

我在工具链和uClibc库中创建了一个带有启用IPv6支持的定制Buildroot 2015.01发行版,该发行版带有3.10.0 Linux内核。
当地址是IPv6时,无法访问网络Buildroot

有一个奇怪的行为需要设法联系所有的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             

任何帮助或建议将是非常赞赏。

回答

1

我解决了这个问题,安装标准wget而不是Busybox的集成。

由于看起来我们的内部网络不支持IPv6,并且Busybox的wget在无法到达目的地时停止。相反,标准wget会回退到IPv4地址,完成下载。

编辑:除了我们的网络,似乎Busybox的wget有一些问题