回 1楼(liam_fantasy) 的帖子
您好,
如果忽略以上内容的信息提示,可以顺利完成其它步骤吗?
-------------------------
回 5楼(hengic) 的帖子
您好,
我没有直接的判断经验,但我可以尝试迟些为您在Debian 7 的测试机里试试。
-------------------------
回 5楼(hengic) 的帖子
您好,
我在阿里云公共镜像里的Debian 7 64位测试,好象可以。
您在配置了 he-ipv6 接口后,有没有重启网络服务(service networking restart)?
-------------------------
回 8楼(hengic) 的帖子
您好,
请问您使用的Web是哪种软件呢,是nginx吗?
有的Web默认不监听IPv6的端口喔。
您可以使用 netstat 的命令,或检查一下Web的配置文件,确认除了IPv4的80端口外,是否在IPv6的端口也有监听喔。
-------------------------
回 10楼(hengic) 的帖子
您好,
按照apache的说明文档,或许您需要在配置文件中添加一个类似这样的内容:
http://httpd.apache.org/docs/current/bind.html
Listen [2001:470:18:898::2]:80
然后您在系统中能查看到tcp6的80端口也是在监听状态。
-------------------------
回 14楼(三少.) 的帖子
您好,
欢迎来到阿里云论坛。
请问您在什么系统上尝试配置IPv6隧道地址上遇到疑问了呢?是CentOS 6系统吗?
-------------------------
回 16楼(ahy) 的帖子
您好,
欢迎来到阿里云论坛。
如上图,个人觉得算是成功了。
-------------------------
回 18楼(weiykj胡伟) 的帖子
您好,
欢迎来到阿里云论坛。
是和哪位遇到的现象差不多呢,是16楼吗?
-------------------------
回 20楼(hlq) 的帖子
您好,
欢迎来到阿里云论坛。
请问您在系统里,能看到IPv6的隧道地址,能否ping通本地的测试地址::1呢?
::1
-------------------------
回 28楼(magicmoment) 的帖子
您好,
个人来看,如果前两项测试成功,那应该可以了。
是的,有时可能境内的公共网络无法访问IPv6的地址。
-------------------------
回 30楼(leonandandy) 的帖子
您好,
应该是 Client IPv6 Address。
-------------------------
回 32楼(评心静气) 的帖子
您好,
您是想让80端口在tcp6上监听吗?
请问您使用的是哪种Web呢?是nginx,apache?
-------------------------
回 36楼(评心静气) 的帖子
您好,
好象我通过 wget -6 的命令来测试,能获取到您的站点首页(ok的内容):
root@los:~/test# wget -6 [
http://apiv.beloved999.com]
[
http://apiv.beloved999.com]: Scheme missing.
root@los:~/test# wget -6
http://apiv.beloved999.com
converted 'http://apiv.beloved999.com' (ANSI_X3.4-1968) -> 'http://apiv.beloved999.com' (UTF-8)
--2016-09-29 00:14:06--
http://apiv.beloved999.com/
Resolving apiv.beloved999.com (apiv.beloved999.com)... 2001:470:39:4a6::2
Connecting to apiv.beloved999.com (apiv.beloved999.com)|2001:470:39:4a6::2|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'index.html'
index.html [ <=> ] 2 --.-KB/s in 0s
2016-09-29 00:14:08 (107 KB/s) - 'index.html' saved [2]
-------------------------
回 37楼(leonandandy) 的帖子
您好,
如果提示 No route to host ,那可能漏掉了例子中的某一步了,如是否曾成功执行以下的这条命令呢?
ip route add ::/0 dev he-ipv6
-------------------------
回 41楼(评心静气) 的帖子
您好,
首先要确认您使用wget所在的系统里是支持IPv6的喔。
-------------------------
回 44楼(关关007) 的帖子
您好,
我在外网ping不通您的ipv6地址喔,请问您的ubuntu是否有设置了防火墙呢?
root@los:~# ping6 ipv6.playalot.cn
PING ipv6.playalot.cn(guanguan007-1-pt.tunnel.tserv22.tyo1.ipv6.he.net) 56 data bytes
--- ipv6.playalot.cn ping statistics ---
51 packets transmitted, 0 received, 100% packet loss, time 50006ms
-------------------------
回 46楼(关关007) 的帖子
您好,
一般在ECS里,可能有两个因素会影响到:
a. 系统的防火墙,如iptables
b. ECS的安全组,
https://help.aliyun.com/document_detail/25471.html
-------------------------
回 48楼(关关007) 的帖子
您好,
从现有的帮助说明文档来看,好象“安全组”目前仅支持IPv4。
您可以尝试完全关闭iptables的服务后,再对比结果。
-------------------------
回 50楼(kevin0317) 的帖子
您好,
从图中信息来看,看起来,apache已经在ipv6的80端口上监听了(:::80)。
但我现在从一个香港的机子上,ping不通您的 2001:470:c:b30::2 地址 。
root@hk:~# ping6 ipv6.google.com
PING ipv6.google.com(tg-in-x66.1e100.net) 56 data bytes
64 bytes from tg-in-x66.1e100.net: icmp_seq=1 ttl=47 time=22.4 ms
64 bytes from tg-in-x66.1e100.net: icmp_seq=2 ttl=47 time=22.1 ms
64 bytes from tg-in-x66.1e100.net: icmp_seq=3 ttl=47 time=22.4 ms
--- ipv6.google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 22.129/22.336/22.442/0.146 ms
root@hk:~# ping6 2001:470:c:b30::2
PING 2001:470:c:b30::2(2001:470:c:b30::2) 56 data bytes
--- 2001:470:c:b30::2 ping statistics ---
8 packets transmitted, 0 received, 100% packet loss, time 7000ms
-------------------------
回 54楼(kevin0317) 的帖子
您好,
感谢您的更新回复喔。
-------------------------
回 56楼(hancock99) 的帖子
您好,
请问您已经完成操作步骤的第一步了吗?
您的操作系统是 CentOS 7 吗?
-------------------------
回 59楼(dianjilv) 的帖子
您好,
欢迎来到阿里云论坛。
当您看到形如下边的监听状态时,很可能,nginx已经在tcp6的80端口上监听了喔。
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 22458/nginx
tcp 0 0 :::80 :::* LISTEN 22458/nginx
因为第一行中的0.0.0.0可以理解监听tcp4的80端口,而第二行:::表示监听tcp6的80端口。这可能是因为系统版本不同,有的系统没有显示tcp6的字样,但形如::开头的IP,应该是表示ipv6的。
我现在用lynx并不能打开:http://[2001:470:35:10f6::2]/
root@hk:~# lynx [2001:470:35:10f6::2]
Looking up '[2001:470:35:10f6::2]' first
Looking up [2001:470:35:10f6::2] first
Looking up [2001:470:35:10f6::2]
Making HTTP connection to [2001:470:35:10f6::2]
Alert!: Unable to connect to remote host.
lynx: Can't access startfile http://[2001:470:35:10f6::2]/
-------------------------
回 61楼(dianjilv) 的帖子
您好,
如果事情不急,是可以再等等。
如果急,也可以直接找原生支持Ipv6的环境,如美国的机子。
-------------------------
回 63楼(dianjilv) 的帖子
您好,
看具体的需求啰。
假如您的主站,是国内用户访问的,那就首选阿里云国内的地域啊。
您的子站,如下载或需要使用IPv6,主要是国外用户访问的,那可以综合考虑,看除了阿里云,是否还存在更佳的选择。
虽然阿里云整体上已经很好了,但如国内大环境IPv6条件还不成熟的前提条件下,或许客户需再特殊考虑一下。
-------------------------
回 65楼(eason_zhang) 的帖子
您好,
请问您的系统版本是 CentOS 7 吗?
-------------------------
回 66楼(一直在等) 的帖子
您好,
好象 nginx 提示您在当前的平台上,不支持ipv6。
您能ping通本地的IPv6地址吗(::1)?
-------------------------
回 69楼(eason_zhang) 的帖子
您好,
本帖子的例子,是在CentOS 7 版本上测试完成的,可能并不适合 CentOS 6 的环境喔。
如果您目前还没有在 CentOS 6 里配置好Ipv6,我也可以为您找机子来测试一下。
-------------------------
回 71楼(eason_zhang) 的帖子
您好,
好哩。我现在为您试试。
如果完成测试,会在帖子里回复您。
-------------------------
回 74楼(eason_zhang) 的帖子
您好,
抱歉让您久等了。
为您写了一个例子的帖子,希望能帮得上您:《为阿里云ECS(CentOS6)配置IPv6隧道地址》 -
https://bbs.aliyun.com/read.php?tid=299254
-------------------------
回 77楼(yongzhang52545) 的帖子
您好,
欢迎来到阿里云论坛。
我为您找找资料。请稍等。
-------------------------
回 77楼(yongzhang52545) 的帖子
您好,
为您写了这一个例子帖子,希望对您有用喔:《在CentOS 7系统里设置开机自动执行脚本systemd》 -
https://bbs.aliyun.com/read.php?tid=301042
-------------------------
回 82楼(木头2121) 的帖子
您好,
如果提示网络访问失败,那可能没有成功在系统里设置好IPv6隧道地址喔。
您在系统里运行 ifconfig 查看有IPv6的隧道地址信息吗?
-------------------------
回 84楼(木头2121) 的帖子
您好,
截图上传,可能因为宽度过长,论坛程序为了整体的美观,自动降低相素和比例了,但下载后看是您原来上传的尺寸大小,不影响查看图片内容的。
ipv6-test.com 里的第三项是检查项目应该是 ipv6-only 的,这不符合现有的环境,国内ipv6的环境还不成熟。但如果通过第一和第二项,应该不影响您基本使用,如可通过苹果对于APP要有有效ipv6地址访问的要求。
-------------------------
回 86楼(木头2121) 的帖子
您好,
有可能是因为HE免费提供的隧道网络(如果您选择的是香港的节点),互联可能不是很流畅。
-------------------------
回 88楼(木头2121) 的帖子
您好,
这么奇怪?
如果要一直ping,或许您可用个screen在后台跑着。
我个人是仅用于测试,当时选择的是HE香港的节点。
-------------------------
回 90楼(热尔特人) 的帖子
您好,
如果您的系统里没有 he-ipv6 的虚拟网卡,可能在本地都不能使用ipv6的环境喔,
您运行 ping6 ::1 ,会有什么样的结果呢?
-------------------------
回 92楼(热尔特人) 的帖子
您好,
如果能ping通本地的::1地址,
请问能否ping通您申请到的IPv6隧道地址(如2001:470:18:401::2 这样的),
或能否ping通外网的IPv6地址,如 ping6 ipv6.google.com ?
-------------------------
回 94楼(热尔特人) 的帖子
您好,
请问您的系统确认是CentOS 7版本的吗?
我照着例子重新操作了一次,正常的喔。
[root@iZ23jyp275rZ php]# ip -6 routeunreachable ::/96 dev lo metric 1024 error -101unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -101200:2:9f6a:794b:: dev he-ipv6 metric 0 cache2001:470:18:401::/64 dev he-ipv6 proto kernel metric 256unreachable 2002:a00::/24 dev lo metric 1024 error -101unreachable 2002:7f00::/24 dev lo metric 1024 error -101unreachable 2002:a9fe::/32 dev lo metric 1024 error -101unreachable 2002:ac10::/28 dev lo metric 1024 error -101unreachable 2002:c0a8::/32 dev lo metric 1024 error -101unreachable 2002:e000::/19 dev lo metric 1024 error -101unreachable 3ffe:ffff::/32 dev lo metric 1024 error -101fe80::/64 dev eth0 proto kernel metric 256fe80::/64 dev eth1 proto kernel metric 256default dev he-ipv6 metric 1024[root@iZ23jyp275rZ php]# ping6 ipv6.google.comPING ipv6.google.com(tsa03s01-in-x0e.1e100.net) 56 data bytes64 bytes from tsa03s01-in-x0e.1e100.net: icmp_seq=1 ttl=55 time=389 ms64 bytes from tsa03s01-in-x0e.1e100.net: icmp_seq=2 ttl=55 time=390 ms
[root@iZ23jyp275rZ php]# ifconfigeth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.117.40.202 netmask 255.255.248.0 broadcast 10.117.47.255 inet6 fe80::216:3eff:fe00:3e22 prefixlen 64 scopeid 0x20<link> ether 00:16:3e:00:3e:22 txqueuelen 1000 (Ethernet) RX packets 19203 bytes 27666872 (26.3 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 5745 bytes 339979 (332.0 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 121.43.110.72 netmask 255.255.252.0 broadcast 121.43.111.255 inet6 fe80::216:3eff:fe00:1a3b prefixlen 64 scopeid 0x20<link> ether 00:16:3e:00:1a:3b txqueuelen 1000 (Ethernet) RX packets 204694 bytes 278187033 (265.2 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 67036 bytes 10194365 (9.7 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0he-ipv6: flags=209<UP,POINTOPOINT,RUNNING,NOARP> mtu 1480 inet6 fe80::792b:6e48 prefixlen 128 scopeid 0x20<link> inet6 2001:470:18:401::2 prefixlen 64 scopeid 0x0<global> sit txqueuelen 0 (IPv6-in-IPv4) RX packets 18 bytes 1592 (1.5 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 19 bytes 1360 (1.3 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 0 (Local Loopback) RX packets 102 bytes 9177 (8.9 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 102 bytes 9177 (8.9 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
-------------------------
回 96楼(热尔特人) 的帖子
您好,
当您能ping通ipv6.google.com时,应该说明ipv6的隧道地址已经设置好了,
这个时候,如果测试您的站点还不能通过ipv6隧道地址访问,您得检查一下Web服务是否在ipv6的地址是监听喔(如运行 netstat -noa | grep 80 的命令查看一下)。
当您重启网络服务或重启系统后,ipv6的隧道地址已经失效了的,因为这个环节的命令仅当次有效的,请参考:
https://bbs.aliyun.com/read/301042.html
-------------------------
回 98楼(热尔特人) 的帖子
您好,
您要将域名设置AAA记录到 2001:470:18:a8b::2 而不是 fe80::216:3eff:fe00:54f9 喔:
# curl [2001:470:18:a8b::2] -so - | grep -iPo '(?<=<title>)(.*)(?=</title>)'
LNMP一键安装包 by Licess
-------------------------
回 100楼(热尔特人) 的帖子
您好,
您可以按之前的步骤,一步步来排查呢。
如可以先检查本地的IPv6隧道地址设置是否正常,Web监听状态是否正常。
-------------------------
回 103楼(taihehaode) 的帖子
您好,
欢迎来到阿里云论坛。
在网上找到两条命令,您可以试试:
firewall-cmd --permanent --zone=public --add-port=80/tcp假如您默认的区域是 public ,现在需放行 80 的 tcp 端口。
之后,再用 reload 的命令重新加载下 firewalld:
firewall-cmd --reload
参考:
http://www.codero.com/knowledge-base/content/10/377/en/how-to-manage-firewall-rules-in-centos-7.html
-------------------------
回 108楼(ffffffffffffv) 的帖子
您好,
看您的最后的一个截图,
IPv6隧道地址的站点,已经可以访问了喔,恭喜。
-------------------------
回 110楼(taihehaode) 的帖子
您好,
对于CentOS 7里的firewalld防火墙设置例子,可看一下第104楼回帖里的内容喔。
-------------------------
回 112楼(taihehaode) 的帖子
您好,
抱歉延时回复。
请问您已经解决问题了吗?
-------------------------
回 113楼(网际码工) 的帖子
您好,
抱歉延时回复,
请问在您的应用环境里,除了nginx,还有其它Web服务软件吗?
一般来说,nginx默认是使用80端口的。
-------------------------
回 116楼(网际码工) 的帖子
您好,
那您的网站访问地址是什么呢?
-------------------------
回 118楼(lyan) 的帖子
您好,
欢迎来到阿里云论坛。
请问您的程序(web)里配置监听所有的可用端口,如 nginx 里可以填写如下的配置内容:
listen [::]:8091r
-------------------------
回 121楼(cenfee~) 的帖子
您好,
请问您正使用的系统(MacBook?)是否支持IPv6的网络呢?
-------------------------
回 120楼(fedorjia) 的帖子
您好,
请问您的服务器是否禁ping了?
-------------------------
回 124楼(cenfee~) 的帖子
您好,
可以ping得通您的ipv6地址喔,
PING 2001:470:a:c8e::2(2001:470:a:c8e::2) 56 data bytes
64 bytes from 2001:470:a:c8e::2: icmp_seq=1 ttl=55 time=327 ms
64 bytes from 2001:470:a:c8e::2: icmp_seq=2 ttl=55 time=331 ms
64 bytes from 2001:470:a:c8e::2: icmp_seq=3 ttl=55 time=328 ms
-------------------------
回 126楼(cenfee~) 的帖子
您好,
可以访问哩,如下图:
-------------------------
回 129楼(hhs_) 的帖子
您好,
欢迎来到阿里云论坛。
第二项检测不过头,那可能无法通过ipv6地址访问到内容。
是否有防火墙阻止了ipv6的80端口访问呢?
-------------------------
回 131楼(hhs_) 的帖子
您好,
好象两个IPv6地址都ping不通喔。
PING 2001:470:c:10b0::2(2001:470:c:10b0::2) 56 data bytes
--- 2001:470:c:10b0::2 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4004ms
root@ipv6tunnel:~/test# ping6 2001:470:c:10b1::2
PING 2001:470:c:10b1::2(2001:470:c:10b1::2) 56 data bytes
--- 2001:470:c:10b1::2 ping statistics ---
7 packets transmitted, 0 received, 100% packet loss, time 5999ms
root@ipv6tunnel:~/test# ping6 ipv6.google.com
PING ipv6.google.com(lax17s05-in-x0e.1e100.net) 56 data bytes
64 bytes from lax17s05-in-x0e.1e100.net: icmp_seq=1 ttl=57 time=0.589 ms
64 bytes from lax17s05-in-x0e.1e100.net: icmp_seq=2 ttl=57 time=0.705 ms
-------------------------
回 133楼(hhs_) 的帖子
您好,
如果可以,请提供 tunnelbroker.net 分配给您的 IPv6隧道地址配置信息。
和服务器的登录信息(请通过站内信发送),我为您登录查看。
-------------------------
回 135楼(hhs_) 的帖子
您好,
好象提示SSL证书错误喔。
--2017-04-13 01:17:47-- https://[2001:da8:20d:400::3ccd:ffa]/
Connecting to [2001:da8:20d:400::3ccd:ffa]:443... connected.
ERROR: The certificate of '2001:da8:20d:400::3ccd:ffa' is not trusted.
ERROR: The certificate of '2001:da8:20d:400::3ccd:ffa' hasn't got a known issuer.
The certificate's owner does not match hostname '2001:da8:20d:400::3ccd:ffa'
-------------------------
回 137楼(余得水) 的帖子
您好,
因为例子中的配置是当时有效,没有写入配置文件,重启后会失效的。
-------------------------
回 138楼(余得水) 的帖子
您好,
如果ECS的宽带类型是“专有网络”,本帖中的配置方法不适用喔。
-------------------------
回 141楼(hhs_) 的帖子
您好,
苹果好象说是您的APP在IPv6的环境中加载不到内容。
或许您需要检查一下您的Web日志,看看有没有相应的错误信息。
-------------------------
回 143楼(wangsili) 的帖子
您好,
现在测试,好象正常哩。
-------------------------
回 146楼(淘拍拍) 的帖子
您好,
第二项是Web访问,
请问您的业务类型是http的吗?
-------------------------
回 148楼(淘拍拍) 的帖子
您好,
请问您运行如 netstat -noa | grep 80 的结果会有哪些信息呢?
-------------------------
回 151楼(lifetin) 的帖子
您好,
请问您使用的web服务器是什么呢?
或许您需要在Web服务器里绑定您的域名或IPv6地址到具体的站点喔。
-------------------------
回 153楼(ifaceparty) 的帖子
您好,
从国外的测试机,好象ping不能您设置的ipv6地址喔,
PING 2001:470:23:11f6::2(2001:470:23:11f6::2) 56 data bytes
--- 2001:470:23:11f6::2 ping statistics ---
82 packets transmitted, 0 received, 100% packet loss, time 81185ms
-------------------------
回 154楼(ifaceparty) 的帖子
您好,
个人没发现有可行的解决办法,因为国内的大环境限制,阿里云即使是技术跟得上,也无法实现IPv6接入互联网。
如果仅是应对APP审核,或许可以尝试其它的办法,如临时换用国外支持IPv6的CDN商家。
-------------------------
回 158楼(ifaceparty) 的帖子
您好,
如果您的配置方法有效,那可以提醒一下其他网友尝试。
-------------------------
回 160楼(weinie) 的帖子
您好,
欢迎来到阿里云论坛。
上午我曾成功注册过一个tunnelbroker.net账号哩。
invalid registration data,字面上意思好象填写的账号申请信息有错误喔。
-------------------------
回 162楼(weinie) 的帖子
您好,
很高兴听到您已经解决问题了喔。
欢迎有空时再来论坛逛逛。
-------------------------
回 164楼(等火车) 的帖子
您好,
欢迎来到阿里云论坛。
很高兴帖子的内容能给您带来帮助喔。
-------------------------
回 166楼(goldplusgold) 的帖子
您好,
欢迎来到阿里云论坛。
个人没有在SLB的环境里测试喔,但您可以先自行测试一下。
-------------------------
回 168楼(goldplusgold) 的帖子
您好,
在HE网站申请隧道地址时,填写的是公网IP地址喔,
之后在您的实例里执行命令时,需要将示例中的公网IP换成内网IP的喔。
-------------------------
回 170楼(灵动在线) 的帖子
您好,
现在我从境外的机子测试您的子域名网站,可以正常访问到内容的喔:
converted 'http://wjdipv6.18183g.cc' (ANSI_X3.4-1968) -> 'http://wjdipv6.18183g.cc' (UTF-8)
--2017-06-09 09:03:57--
http://wjdipv6.18183g.cc/
Resolving wjdipv6.18183g.cc (wjdipv6.18183g.cc)... 2001:470:35:660::2
Connecting to wjdipv6.18183g.cc (wjdipv6.18183g.cc)|2001:470:35:660::2|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3700 (3.6K) [text/html]
Saving to: 'index.html.1'
-------------------------
回 176楼(aii_dev) 的帖子
您好,
在后台用一个ping6命令保持ipv6隧道地址的“运行”状态,如:nohup ping6.ipv6.google.com &
-------------------------
回 178楼(umerxiaowang) 的帖子
您好,
欢迎来到阿里云论坛。
请问您的接口是通过http访问的吗?
这样:
converted 'http://service.umer.com.cn' (ANSI_X3.4-1968) -> 'http://service.umer.com.cn' (UTF-8)
--2017-06-13 09:39:58--
http://service.umer.com.cn/
Resolving service.umer.com.cn (service.umer.com.cn)... 2001:470:c:38b::2
Connecting to service.umer.com.cn (service.umer.com.cn)|2001:470:c:38b::2|:80... connected.
HTTP request sent, awaiting response... 404
2017-06-13 09:39:59 ERROR 404: (no description).
-------------------------
回 179楼(aii_dev) 的帖子
您好,
我暂时没有根治的方法,但对比中,Windows Server系统好象没有这个现象。
-------------------------
回 182楼(匠巴巴) 的帖子
您好,
欢迎来到阿里云论坛。
是的,是这个意思。
是一个什么样的“同样结果”呢?您在CentOS 7里使用浏览器访问 ipv6-test.com 来测试吗?
-------------------------
回 185楼(donatello) 的帖子
您好,
欢迎来到阿里云论坛。
目前多数人配置的,是使用ipv6隧道地址,即HE.net提供的6in4的隧道地址,这种实现方式好象是封闭成ipv4包来收发的。
-------------------------
回 187楼(peanut888) 的帖子
您好,
欢迎来到阿里云论坛。
现在测试,您的ipv6地址在ping6一段时间后,可以ping6通喔。
64 bytes from 2001:470:18:9c2::2: icmp_seq=188 ttl=63 time=359 ms
64 bytes from 2001:470:18:9c2::2: icmp_seq=189 ttl=63 time=365 ms
64 bytes from 2001:470:18:9c2::2: icmp_seq=190 ttl=63 time=405 ms
--- 2001:470:18:9c2::2 ping statistics ---
190 packets transmitted, 9 received, 95% packet loss, time 190449ms
rtt min/avg/max/mdev = 351.692/363.540/405.073/15.177 ms
-------------------------
回 189楼(rexue) 的帖子
您好,
可尝试用 nohup 的命令,令ping6长驻后台运行,
至于原因,我不确定。可能需要咨询一下隧道供应商HE。
-------------------------
回 192楼(zoan) 的帖子
您好,
欢迎来到阿里云论坛。
是的,因为配置时,是用命令执行,当次有效,没有写进配置文件里的,
所以重启网络的服务后,ipv6隧道地址不会自动再次配置。
您可以尝试将这些配置ipv6的命令写到自动执行的脚本时,这样,重启系统或重启网络后,可以自动再次配置ipv6隧道地址。
-------------------------
回 194楼(踩你哦) 的帖子
您好,
现在从外网测试 ,可以ping6通您的域名喔:
PING zhangzezheng.cn(zhangzezheng-5-pt.tunnel.tserv20.hkg1.ipv6.he.net) 56 data bytes
64 bytes from zhangzezheng-5-pt.tunnel.tserv20.hkg1.ipv6.he.net: icmp_seq=1 ttl=63 time=328 ms
64 bytes from zhangzezheng-5-pt.tunnel.tserv20.hkg1.ipv6.he.net: icmp_seq=2 ttl=63 time=328 ms
64 bytes from zhangzezheng-5-pt.tunnel.tserv20.hkg1.ipv6.he.net: icmp_seq=3 ttl=63 time=333 ms
64 bytes from zhangzezheng-5-pt.tunnel.tserv20.hkg1.ipv6.he.net: icmp_seq=4 ttl=63 time=328 ms
-------------------------
回 194楼(踩你哦) 的帖子
您好,
能ping6通,但访问不了web,建议检查web服务。
liujia@hk2:~/test5$ ping6 zhangzezheng.cn
PING zhangzezheng.cn(zhangzezheng-5-pt.tunnel.tserv20.hkg1.ipv6.he.net) 56 data bytes
64 bytes from zhangzezheng-5-pt.tunnel.tserv20.hkg1.ipv6.he.net: icmp_seq=1 ttl=63 time=328 ms
64 bytes from zhangzezheng-5-pt.tunnel.tserv20.hkg1.ipv6.he.net: icmp_seq=2 ttl=63 time=328 ms
--- zhangzezheng.cn ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 328.299/328.353/328.407/0.054 ms
liujia@hk2:~/test5$ wget -6 zhangzezheng.cn --2017-10-12 22:32:58--
http://zhangzezheng.cn/
Resolving zhangzezheng.cn (zhangzezheng.cn)... 2001:470:18:9f::2
Connecting to zhangzezheng.cn (zhangzezheng.cn)|2001:470:18:9f::2|:80... failed: Connection re fused.
-------------------------
回 199楼(hjlapp) 的帖子
您好,
欢迎来到阿里云论坛。
如果可以ping通ipv6的主机地址,但不能访问web,
可能需要检查:
a. web是否在ipv6的网络接口上监听使用
b. ECS实例的安全组是否允许外网访问相应的端口
-------------------------
回 201楼(hjlapp) 的帖子
您好,
因为目前安全组的规则仅是ipv4,
所以建议您先尝试放行全部的协议后,再来看看能否从外网访问隧道地址。
-------------------------
您好,很高兴听到您已经解决了问题。希望有空时,多来论坛转转喔。
-------------------------
回 205楼(异乡人_北) 的帖子
版主回复:
请问您使用的是公共镜像里的CentOS 7系统吗?
-------------------------
回 207楼(异乡人_北) 的帖子
版主回复:
如果是 CentOS 6.5 的,或许可参考一下这个帖子里的操作顺序:
https://bbs.aliyun.com/read/304532.html
-------------------------
回 209楼(异乡人_北) 的帖子
版主回复:
上边内容的话,仅在第二行添加 # 符号,注释掉后,应该就可以了。
-------------------------
回 211楼(youdy) 的帖子
版主回复:
尝试添加IPv6隧道地址的方法,仅是可行性测试,并不是100%能让APP成功上架的喔。
因为苹果的文档里,侧重于APP在构建过程中 考虑到IPv6网络的访问,并不是强制要求APP一定有IPv6地址,建议您让程序员参考苹果的文档喔:
https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html
-------------------------
回 213楼(北京小戚戚) 的帖子
版主回复:
按he提供的帮助说明页,如果经过NAT设备,或许需要您的上游设备允许41协议。
-------------------------
回 214楼(菜鸟小白白) 的帖子
版主回复:
请问您的ECS实例是否有分配公网IP地址呢?
能否截图,看看您的ECS实例网络信息?