
想用 HE Tunnel Broker 给阿里云的云主机添加个 ipv6 的地址,应对听歌都卡的校园网,可是在添加 ip 地址时出现了下面的问题
[root@iZ281j3obvpZ ~]# modprobe ipv6 FATAL: Module off not found.(虽然出错,但查看时 ipv6 依然加载了) [root@iZ281j3obvpZ ~]# ip tunnel add he-ipv6 mode sit remote 66.220.7.82 local 121.42.11.xxx ttl 255 [root@iZ281j3obvpZ ~]# ip link set he-ipv6 up [root@iZ281j3obvpZ ~]# ip addr add 2001:470:xxxx:192::2/64 dev he-ipv6 RTNETLINK answers: Operation not supported [root@iZ281j3obvpZ ~]# ip route add ::/0 dev he-ipv6 RTNETLINK answers: Operation not supported [root@iZ281j3obvpZ ~]# ip -f inet6 addr 小菜一枚,谷歌了一天了也没能解决,求 v2 的众神们帮忙看下。
1 yexm0 2015 年 10 月 11 日 阿里云连 he 是走电信线路到美国的,丢包又大,速度又慢. |
2 qq3102328040 OP 查看时是这样: he-ipv6 Link encap:IPv6-in-IPv4 UP POINTOPOINT RUNNING NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) |
3 qq3102328040 OP @yexm0 昨天都 ping 了一般,基本上延迟都在 200 以上,不知道跟我们 100k 封顶的校园网比怎么样。。 |
4 halczy 2015 年 10 月 11 日 直接编辑 /etc/network/interfaces 试试。 这个是我用的, Ubuntu 机器,直接写进去重启即可。 ``` auto he-ipv6 iface he-ipv6 inet6 v4tunnel address 2001:470:xx:xxx::2 netmask 64 remote 216.66.xxx.xxx local 104.167.xxx.xxx endpoint any ttl 255 up ip -6 route add 2000::/3 via ::216.66.xx.xx dev he-ipv6 up ip -6 addr add 2001:470:xx:xxx::1:1/128 dev he-ipv6 up ip -6 addr add 2001:470:xx:xxx::2:1/128 dev he-ipv6 down ip -6 route flush dev he-ipv6 ``` |
5 qq3102328040 OP |
6 qq3102328040 OP 十分。。 |
7 fashioncj 2016 年 3 月 1 日 给别人一个帮助: 1. @halczy 这个配置少了 gateway ,需要加上 2. 阿里云 ubuntu 禁用了 ipv6 ,需要修改 `\etc\sysctl.conf`最后的 --- net.ipv6.conf.all.disable_ipv6 = 0 net.ipv6.conf.default.disable_ipv6 = 0 net.ipv6.conf.lo.disable_ipv6 = 0 --- http://blog.chenjia.me/articles/160301-134110.html |