Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

路由器网络通,但内网v6不通。 #30

Open
GoogleCodeExporter opened this issue May 28, 2015 · 2 comments
Open

路由器网络通,但内网v6不通。 #30

GoogleCodeExporter opened this issue May 28, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

v6是使用isatap连接到上海交大。

dmesg不停输出:
get_ip6_by_name() failed。
内网的机器tracert:
C:\Users\gtr-mz>tracert ipv6.google.com.hk

通过最多 30 个跃点跟踪
到 ipv6.l.google.com [2404:6800:8003::67] 的路由:

  1    <1 毫秒    1 ms     1 ms  fc00:101:101::1
  2     *        *        *     请求超时。
  3     *        *        *     请求超时。
  4     *        *        *     请求超时。
  5     *        *        *     请求超时。
  6     *        *        *     请求超时。
  7     *        *        *     请求超时。
内网界面地址:
以太网适配器 本地连接:

   连接特定的 DNS 后缀 . . . . . . . :
   IPv6 地址 . . . . . . . . . . . . : fc00:101:101:0:14df:68cf:8fa5:b7b8
   临时 IPv6 地址. . . . . . . . . . : fc00:101:101:0:2033:efb9:dba2:9ea3
   本地链接 IPv6 地址. . . . . . . . : fe80::14df:68cf:8fa5:b7b8%11
   IPv4 地址 . . . . . . . . . . . . : 192.168.0.248
   子网掩码  . . . . . . . . . . . . : 255.255.255.0
   默认网关. . . . . . . . . . . . . : fe80::2d0:b7ff:fec6:8af0%11
                                       192.168.0.1

路由器的ip地址;
17: is0@NONE: <NOARP,UP,LOWER_UP> mtu 1480 qdisc noqueue state UNKNOWN 
    link/sit 61.151.75.48 brd 0.0.0.0
    inet6 2001:da8:8000:d011:200:5efe:3da1:4f30/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::200:5efe:3da1:4f30/64 scope link 
       valid_lft forever preferred_lft forever



Original issue reported on code.google.com by wsgtr...@gmail.com on 1 Aug 2011 at 3:04

@GoogleCodeExporter
Copy link
Author

路由器是routeros 3.30,内核版本是2.6.27。
因为不能修改内核源码,是直接修改的二进制的ipv6.ko模块。
使用routeros自带的radvd。
估计是natpt66没有正常工作。

Original comment by wsgtr...@gmail.com on 1 Aug 2011 at 3:07

@GoogleCodeExporter
Copy link
Author

我在2.6.27下编译时,出现一点小错误:
/root/napt66-read-only/napt66_ftp_alg.c: In function 'analysis_eprt':
/root/napt66-read-only/napt66_ftp_alg.c:334:20: error: 'IPPROTO_TCP' undeclared 
(first use in this function)
/root/napt66-read-only/napt66_ftp_alg.c:334:20: note: each undeclared 
identifier is reported only once for each function it appears in
make[2]: *** [/root/napt66-read-only/napt66_ftp_alg.o] Error 1

需要在napt66_ftp_alg.h引用头文件in.h
#include <linux/in6.h>
+#include <linux/in.h>
#include <net/ipv6.h>

Original comment by wsgtr...@gmail.com on 1 Aug 2011 at 4:40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant