W3tTr3y's blog

A personal technology focused blog

Connecting to an Unconfigured iLO Card

I heard back from HPe support about an open case we have with one of our raid controller cards; they wanted me to check the firmware version via iLO, integrated lights out, HP’s out-of-band management card. While I asked for alternatives (like checking from the operating system since I had an open ssh connection), they insisted on this methodology. Things then took a turn for the worst, I’ve been waiting on our network redesign to put our out-of-bound cards on the network and HPe’s iLO conifguration instructions started with rebooting so I could hit F10 to enter Intelligent Provisioning. While I appreciate that I had an issue on a production server that I need to resolve, having to reboot just to check the firmware version was disappointing and I was determined to find an alternative.


A couple monthes ago while setting up the new Dell’s, I connected directly to their iDrac cards (Dell’s version of out-of-band management), so I was hopefully I could do something similar with the HP’s.

One of my first thoughts was the documentation say the iLO cards use DHCP; would they automatically configure a private address when DHCP failed? (e.g. could I just connect to it) Unfortuntately that was a bust; based on my testing they just fail to get an address when they don’t receive a lease.

Configuration via IPMI

While I could have setup a temporary DHCP server on my laptop, I assumed HP would be following the IPMI standard and I found a nice page on (Hackery)[http://www.openfusion.net/tags/ipmi/] to use as a guide.

# Turn off dhcp
sudo ipmitool lan set 2 ipsrc static

# Set an ip address of and the netmask
sudo ipmitool lan set 2 ipaddr
sudo ipmitool lan set 2 netmask

# Reset the controller to apply the settings
sudo ipmitool mc reset cold

I was then able configure my laptop on the same subnet ( and connect.

Final Thoughts

Hoepfully both of these methods are fairly obvious; the devil is in the details, so hopefully having the exact commands and the reference to Hackery’s more extensive reference help you on your way. I provided the IPMI commands to support hoping to convince them that (1) avoiding downtime on production servers is a good thing and (2) that I really was able to do it. To me, the most exciting thing about using IPMI to configure the network addresses is being able to use configuration management on them when we finally get the management network up.