Configuring ipmi using ipmitool

August 10, 2016 in memos.

Packages and Services

On RHEL7Server the OpenIPMI and ipmitool are necessary to configure and use IPMI.

$ yum install OpenIMPI ipmitool


Configure a static ip address on the first port. For dynamic configuration set ipsrc to dynamic.

$ sudo ipmitool lan set 1 ipsrc static
$ sudo ipmitool lan set 1 ipaddr
$ sudo ipmitool lan set 1 netmask
$ sudo ipmitool lan set 1 defgw ipsrc

User Configuration

Add a new user with admin rights

$ sudo ipmitool user set name 2 admin
$ sudo ipmitool user set password 2
Password for user 2: 
Password for user 2: 
$ sudo ipmitool channel setaccess 1 2 link=on ipmi=on callin=on privilege=4
$ sudo ipmitool user enable 2

Other Topics