开发者社区> 问答> 正文

阿里云ECS(CentOS7)配置IPv6隧道地址,出现无法路由到主机


1.  编辑 /etc/sysctl.conf 文件,将其中三条禁用IPv6的设置更改为:
复制代码
net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0
net.ipv6.conf.lo.disable_ipv6 = 0

2.再运行 sysctl -p 的命令,启用IPv6



3. 转到 tunnelbroker.net 网站,在 Example Configurateions 里选择 Linux-route2 的配置方法,示例命令如下:
复制代码
modprobe ipv6
ip tunnel add he-ipv6 mode sit remote 216.218.221.6 local 121.43.110.72 ttl 255
ip link set he-ipv6 up
ip addr add 2001:470:35:7fc::2/64 dev he-ipv6
ip route add ::/0 dev he-ipv6
ip -f inet6 add

展开
收起
yangpengppp 2017-03-04 15:23:59 8707 0
3 条回答
写回答
取消 提交回答
  • 回 3楼dongshan请问8的帖子
    难道专有网络就不能配置IPv6了么! 请问有没有的好的解决方案和教程

    -------------------------

    回 5楼dongshan8的帖子
    谢谢了

    -------------------------

    Re阿里云ECS(CentOS7)配置IPv6隧道地址,出现无法路由到主机

    -------------------------

    回 4楼寒笛过霜天的帖子
    找到了解决方法没有?

    -------------------------

    回 5楼dongshan8的帖子
    找到解决方法没有

    -------------------------

    Re阿里云ECS(CentOS7)配置IPv6隧道地址,出现无法路由到主机
    Please run your app on a device while connected to an IPv6 network (all apps must support IPv6) to identify any issues, then revise and resubmit your app for review.

    If we misunderstood the intended behavior of your app, please reply to this message in Resolution Center to provide information on how these features were intended to work.

    For new apps, uninstall all previous versions of your app from a device, then install and follow the steps to reproduce the issue. For updates, install the new version as an update to the previous version, then follow the steps to reproduce the issue.

    Resources

    For information about supporting IPv6 Networks, please refer to Supporting IPv6 DNS64/NAT64 Networks and About Networking.


    最新IOS 审核被打回来了

    -------------------------

    回 10楼dongshan8的帖子
    Please run your app on a device while connected to an IPv6 network (all apps must support IPv6) to identify any issues, then revise and resubmit your app for review.

    If we misunderstood the intended behavior of your app, please reply to this message in Resolution Center to provide information on how these features were intended to work.

    For new apps, uninstall all previous versions of your app from a device, then install and follow the steps to reproduce the issue. For updates, install the new version as an update to the previous version, then follow the steps to reproduce the issue.

    Resources

    For information about supporting IPv6 Networks, please refer to Supporting IPv6 DNS64/NAT64 Networks and About Networking.


    最新IOS 审核被打回来了

    -------------------------

    Re阿里云ECS(CentOS7)配置IPv6隧道地址,出现无法路由到主机
    专用网络 就是IP V6 隧道地址  问题
    2017-03-06 09:18:29
    赞同 展开评论 打赏
  • Re阿里云ECS(CentOS7)配置IPv6隧道地址,出现无法路由到主机

    是专有网络哦
    2017-03-04 19:53:18
    赞同 展开评论 打赏
  • 旺旺:nectar2。
    楼主您好,

    欢迎来到阿里云论坛。


    请问您的ECS的带宽类型是“专有网络”吗?

    -------------------------

    回 2楼(yangpengppp) 的帖子
    您好,

    曾有其他云友反馈,“专有网络”的ECS实例无法成功设置IPv6隧道地址喔。

    -------------------------

    回 4楼(寒笛过霜天) 的帖子
    您好,

    我手上暂时没有“专有网络”的测试机喔,

    我可以先帮您在网上查询一下,看有没有可行的解决方法。

    -------------------------

    回 9楼(寒笛过霜天) 的帖子
    您好,

    抱歉,这两天因为生活中有一些事要忙,还没有开始测试喔。

    如果测试且有结果,会告诉您喔。

    -------------------------

    回 12楼(寒笛过霜天) 的帖子
    您好,

    抱歉,暂时我还没有搜索相关的资料为您实践。

    如有进展,会告诉您喔。

    -------------------------

    回 4楼(寒笛过霜天) 的帖子
    您好,

    为您写了这个帖子,《用nginx proxy_pass 将IPv6请求转发到阿里云云服务器ECS》 - https://bbs.aliyun.com/read.php?tid=312196 ,希望对您有用喔。

    -------------------------

    回 13楼(寒笛过霜天) 的帖子
    您好,

    为您写了这个帖子,《用nginx proxy_pass 将IPv6请求转发到阿里云云服务器ECS》 - https://bbs.aliyun.com/read.php?tid=312196 ,希望对您有用喔。
    2017-03-04 16:56:18
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
如何运维千台以上游戏云服务器 立即下载
网站/服务器取证 实践与挑战 立即下载
ECS快储存加密技术 立即下载