I am having a very frustrating time configuring the IPMI interface on a Supermicro box.
Unfortunately with IPMI it is not always clear which interface is being used by the BMC. The Supermicro Embedded BMC Manual says that the active interface is determined during the initial power up:
Note 1: If you wish to use the IPMI-dedicated LAN port for your network connections, be sure to connect an RJ45 cable to your dedicated LAN port before you activate the BMC (at first power-on or cold reset). Otherwise, the BMC will look for a shared LAN port to connect to if the IPMI-dedicated LAN cable is not detected upon BMC activation.
- Can I use
ipmitool
to tell if this system is using the IPMI-dedicated LAN port or the shared LAN port? - Can I use
ipmitool
to see if the link is up? For comparison, it is easy to see if a link is up on linux -- simply useifconfig
orip addr
and look for the 'UP' flag. Is there an equivalent withipmitool
?
Some details:
- I wasn't here when the system was powered on. I cannot powercycle the system right now.
- There is an Ethernet cable plugged into the dedicated IPMI port, the link light is on and
ipmitool lan print 1
shows a static IP is assigned. But the BMC is not responding to ping. - I've tried
ipmitool bmc reset cold
and reconfiguring the BMC with a new IP and it still doesn't work. - I suspect that the BMC is using the non-dedicated LAN port 0 (e.g. 'eth0' the first LAN port used by the host). This is incorrect -- that port is in use by the host and is connected to a public LAN.
** Update **
The ipmitool man page says that lan get
can be used to display this information, but lan get active
does not work:
% ipmitool -I lanplus -H 172.16.100.100 -U ADMIN -P secret lan get active
Invalid LAN command: get
%