我创建了一个 VM CentOS 7(基于专用服务器),并ipmitool
在其中安装了它,我想使用它来管理 LAN(172.18.16.0/20)下的专用服务器,现在在 VM 中我可以 ping 通172.18.16.230
(一个专用服务器的 IPMI 地址)。
[root@localhost ~]# ping 172.18.16.230
PING 172.18.16.230 (172.18.16.230) 56(84) bytes of data.
From 172.18.31.252: icmp_seq=1 Redirect Network(New nexthop: 172.18.16.230)
From 172.18.31.252 icmp_seq=1 Redirect Network64 bytes from 172.18.16.230: icmp_seq=1 ttl=64 time=2.15 ms
64 bytes from 172.18.16.230: icmp_seq=1 ttl=64 time=2.16 ms (DUP!)
64 bytes from 172.18.16.230: icmp_seq=1 ttl=63 time=2.16 ms (DUP!)
64 bytes from 172.18.16.230: icmp_seq=1 ttl=63 time=2.17 ms (DUP!)
64 bytes from 172.18.16.230: icmp_seq=1 ttl=62 time=2.17 ms (DUP!)
64 bytes from 172.18.16.230: icmp_seq=1 ttl=62 time=2.17 ms (DUP!)
64 bytes from 172.18.16.230: icmp_seq=2 ttl=64 time=1.21 ms
64 bytes from 172.18.16.230: icmp_seq=2 ttl=64 time=1.23 ms (DUP!)
64 bytes from 172.18.16.230: icmp_seq=2 ttl=63 time=1.23 ms (DUP!)
64 bytes from 172.18.16.230: icmp_seq=2 ttl=63 time=1.24 ms (DUP!)
64 bytes from 172.18.16.230: icmp_seq=2 ttl=62 time=1.24 ms (DUP!)
64 bytes from 172.18.16.230: icmp_seq=2 ttl=62 time=1.24 ms (DUP!)
From 172.18.31.252: icmp_seq=3 Redirect Network(New nexthop: 172.18.16.230)
From 172.18.31.252 icmp_seq=3 Redirect Network64 bytes from 172.18.16.230: icmp_seq=3 ttl=64 time=1.67 ms
64 bytes from 172.18.16.230: icmp_seq=3 ttl=64 time=1.68 ms (DUP!)
64 bytes from 172.18.16.230: icmp_seq=3 ttl=63 time=2.45 ms (DUP!)
64 bytes from 172.18.16.230: icmp_seq=3 ttl=63 time=2.48 ms (DUP!)
64 bytes from 172.18.16.230: icmp_seq=3 ttl=62 time=2.92 ms (DUP!)
64 bytes from 172.18.16.230: icmp_seq=3 ttl=62 time=2.93 ms (DUP!)
之前,我可以使用命令获取它的电源状态:
ipmitool -H 172.18.16.230 -I lanplus -U ADMIN -P ADMIN power status
经过多次使用该命令(工作正常),但我现在无法与其建立会话:
[root@localhost ~]# ipmitool -H 172.18.16.230 -I lanplus -U ADMIN -P ADMIN power status
Error: Received an Unexpected Open Session Response
Error: Received an Unexpected Open Session Response
Error: Received an Unexpected Open Session Response
Error: Received an Unexpected Open Session Response
Error: Received an Unexpected Open Session Response
Error: Unable to establish IPMI v2 / RMCP+ session
我不知道为什么我现在无法获取状态,但在第一次它运行良好,并且我没有对配置做任何其他事情。
编辑-01
VM 基于专用服务器,VM 桥接至专用服务器物理接口。
以下是我的咆哮:
[ldl@localhost network-scripts]$ arping -b -I eno16777736 172.18.16.230
ARPING 172.18.16.230 from 172.18.31.249 eno16777736
Unicast reply from 172.18.16.230 [AC:1F:6B:A6:B6:EF] 1.126ms
Unicast reply from 172.18.16.230 [AC:1F:6B:A6:B6:EF] 2.172ms
Unicast reply from 172.18.16.230 [AC:1F:6B:A6:B6:EF] 1.322ms
Unicast reply from 172.18.16.230 [AC:1F:6B:A6:B6:EF] 1.172ms
Unicast reply from 172.18.16.230 [AC:1F:6B:A6:B6:EF] 1.076ms
Unicast reply from 172.18.16.230 [AC:1F:6B:A6:B6:EF] 1.275ms
Unicast reply from 172.18.16.230 [AC:1F:6B:A6:B6:EF] 1.314ms
Unicast reply from 172.18.16.230 [AC:1F:6B:A6:B6:EF] 1.314ms
Unicast reply from 172.18.16.230 [AC:1F:6B:A6:B6:EF] 1.558ms
Unicast reply from 172.18.16.230 [AC:1F:6B:A6:B6:EF] 1.301ms
Unicast reply from 172.18.16.230 [AC:1F:6B:A6:B6:EF] 1.266ms
Unicast reply from 172.18.16.230 [AC:1F:6B:A6:B6:EF] 1.269ms
Unicast reply from 172.18.16.230 [AC:1F:6B:A6:B6:EF] 1.263ms
^CSent 13 probes (13 broadcast(s))
Received 13 response(s)
VM 的 ipmi 管理 ip 是172.18.31.249/20
。