This is my topology:
+-------------------+
| |
+---------+ ipmi switch +----+
| | | |
| +-------------------+ |
| |
| |
+---+---+ +---+---+
| | | |
| bmc | | bmc |
| | | |
+-----+-------+----------+ +-----+-------+----------+
| | | |
| | | |
| | | |
| host1 | | host2 |
| | | |
| | | |
| | | |
+-----+--------+---------+ +-----+--------+---------+
| | | |
| mgmt | | mgmt |
| nic | | nic |
+----+---+ +----+---+
| |
| |
| |
| |
| +-------------------+ |
| | | |
+----------+ mgmt switch +---+
| |
+-------------------+
Is there a way to detect bmc of host2 alive only via bmc of host1(via ipmi switch) not mgmt network(mgmt nic and mgmt switch)?
I searched man page of ipmitool and freeipmi but found nothing helpful