You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

无浮动IP情况下从OpenStack服务器SSH连接实例失败的问题求助

无浮动IP情况下从OpenStack服务器SSH连接实例失败的问题求助

大家好,我碰到了一个OpenStack网络相关的问题,想请教下各位大佬:

因为一些原因我不想使用浮动IP,已经通过br-ex配置了路由来连接我的实例。我的OpenStack服务器IP是10.90.0.236,还有一台名为Test-VM的实例,它的IP是192.168.120.39。

目前的网络状态是这样的:

  • 两者之间ping完全正常
  • 我可以从Test-VM SSH到OpenStack服务器
  • 但反过来,从OpenStack服务器无法SSH连接到Test-VM(除非用浮动IP才行)

下面是我尝试SSH时的调试日志:

OpenSSH_8.9p1 Ubuntu-3ubuntu0.7, OpenSSL 3.0.2 15 Mar 2022
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug2: resolve_canonicalize: hostname 192.168.120.39 is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/stack/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/stack/.ssh/known_hosts2'
debug3: ssh_connect_direct: entering
debug1...

备注:内容来源于stack exchange,提问作者Fantarina

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.16 12:09:38