Oracle 云实例无法通过同一 VCN 子网内的私有 IP 相互通信
我真的很好奇为什么会发生这种情况: 默认情况下,Oracle 云实例无法通过同一 VCN 子网内的私有 IP 相互通信。这是否违反直觉,因为在大多数云提供商中事实并非如此。 到目前为止,除了使用公共IP之外,我没有找到任何好的或简单的方法。谁能给我一个解决方案吗?
I am really curious why this happen:
Oracle cloud instances cannot communicate by default with each other via private ip within the same VCN subnet. Is it against intuition as in most cloud providers it is not the case.
By now I didn't find any good or easy way except using Public IP. Can anyone give me a solution?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
艾姆,我的坏。事实证明,我需要在安全列表中打开ICMP类型8。默认情况下,允许其他ICMP类型:
https://docs.public.public.oneportal.onportal.content。 oci.oraclecloud.com/en-us/iaas/compute-cloud-at-customer/topics/network/network/security-rules.htm#:~: text = text = there%20IS%20NO%20NO%20DEFAULT%20RUELULUE; %20%20source 。
Emmm my bad. It turns out I need to open ICMP type 8 in security list. BY Default other icmp types are allowed:
https://docs.public.oneportal.content.oci.oraclecloud.com/en-us/iaas/compute-cloud-at-customer/topics/network/security-rules.htm#:~:text=There%20is%20no%20default%20rule,0.0%2F0%20for%20the%20source.
除非您配置VCN,否则从源服务器到任何目标都无法进行通信。请使用协议TCP端口22添加子网范围内的入口和出口规则。
no communication works from the source server to any target unless you configure the VCN. Please add the ingress and the egress rule for the subnet range using the protocol TCP port 22.