Discover IPMI IP address by scanning all possible direct LAN addresses

ipmilocal-area-networknetworkingnmap

I have a Supermicro server board that powers on but wont post.

I have connected a LAN cable to the dedicated IPMI LAN port on the board and am trying to discover what the IPMI IP address of the board is.

I have tried scanning the local network via:

nmap -n -sP 192.168.1.1/24

However I as the server is not connected to anything other than a laptop via IPMI it does not know it's on the local network, and I have seen SuperMicro IPMI addresses around 172.17.x.x.

I have not been able to find a list of all possible IPMI addresses to narrow down. How can I scan the entire 172.x.x.x address range using nmap? or any other ideas for finding this server via direct connection to an IPMI port.

Best Answer

I connected a laptop directly to the IPMI port on the server baord, then I used wireshark on the laptop to find the IPMI address (ARP broadcast by MS_NLB Phys Server) (NB turning off wifi first to quieten the logs). Then I set the lap to use the same Class B 172.16.12.xx based network as @joeqwerty helpfully pointed out by editing netplan config (eg see https://danielmiessler.com/study/manually-set-ip-linux/).

Then I could ping the IPMI address from the laptop and browse to the login screen at https://172.16.12.xx