Checking the BMC IP Address

From RCS Wiki
Jump to navigation Jump to search

Several different methods exist to determine the IP address of your BMC.

Via ipmitool

If your POWER9 host is booted and accessible, ipmitool may be the easiest method. From a root shell in either Skiroot or the host OS, run the following:

ipmitool lan print 1

Your BMC's IP address will show up in the IP Address field of the output.

Via nmap

If your POWER9 host isn't easily accessible, but you are on a small local network, nmap may be the easiest method. Please consult your organization security policy if the network is not under your direct control -- some organizations consider even a ping scan like this one to be a security incident. If your organization objects to a scan and cannot provide you with the leased IP for the BMC, we recommend setting up a local test network between your Linux machine and the BMC which you can safely scan at will.

nmap -sn <your IP prefix>/<your CIDR range>

For example, nmap -sn 192.168.0.0/16

Discount the IP address of your local host -- on a two-device local network, the other IP address will be the address the BMC has acquired.