six demon bag

Wind, fire, all that kind of thing!

2017-08-04

IPMI interface network configuration from Linux

Load the relevant modules, either via modprobe or by entering them into /etc/modules (so they're loaded automatically on the next system startup).

modprobe ipmi_devintf
modprobe ipmi_si

Without the modules loaded ipmitool will complain that it can't find the device it wants to talk to:

Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory

With the modules loaded you can set or change the network configuration of the IPMI interface like this:

ipmitool lan set 1 ipsrc static
ipmitool lan set 1 ipaddr 192.168.23.42
ipmitool lan set 1 netmask 255.255.255.0
ipmitool lan set 1 defgw ipaddr 192.168.23.1

Posted 00:36 [permalink]