这是我默认购买的美国区机器,没有买外网ip,为什么不能访问外网呢?难道阿里没有统一出口吗,必须要买弹性公网ip吗?神奇的是,我curl,它居然用的是ipv6,ipv6是默认的开通的吗?如果有了ipv6为什么不能对外访问呢?这个ipv6也不是公网ipv6,难道我要手工分配一个公网ipv6?
Last login: Sat Aug 28 12:22:44 2021 from 100.104.237.252
Welcome to Alibaba Cloud Elastic Compute Service !
[root@AAAA1 ~]# ls
[root@AAAA1 ~]# curl google.com
curl: (7) Failed to connect to 2607:f8b0:4004:801::200e: Network is unreachable
[root@AAAA1 ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.22.144.33 netmask 255.255.240.0 broadcast 172.22.159.255
ether 00:16:3e:02:02:9c txqueuelen 1000 (Ethernet)
RX packets 321460 bytes 256069466 (244.2 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 222358 bytes 41393478 (39.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 1000 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
【 在 loser002 (~金字塔底层蝼蚁~) 的大作中提到: 】
: 有ipv6吗?
: 我可以用ipv6和外界互通吗?
--
FROM 218.82.172.*