nmap -sP -oN logfile.txt <NETWORK ADDRESS>
The command sweeps the network and returns a list of IP addresses in use, and their associated MAC addresses. For example, if your network address is
192.168.0.1/24
, your command must be:
nmap -sP -oN logfile.txt 192.168.0.1/24
If the MAC address on your cartridge identification tag is ' AA:B5:22:F0:EE:A3', then the logfile.txt will be similar to the following output:
Host is up (0.00036s latency).
MAC Address: AA:46:A0:65:49:A0 (Hewlett Packard)
Nmap scan report for server1.mis.hpe.net (192.168.0.12)
Host is up (0.00037s latency).
MAC Address: AA:B5:22:F0:EE:A3 (Hewlett Packard)
Nmap scan report for server-1-ilo.mis.hpe.net (192.168.0.13)
Host is up (0.00038s latency).
You can identify the IP address of your iLO by matching the MAC address from the identification tag of the cartridge to the list generated. In the example provided, the MAC address matches the iLO MAC. So the IP address is
192.168.0.13
.