KB450203 – IPMI network configuration using ipmitool

Last modified: May 14, 2021
You are here:
Estimated reading time: 1 min
  1. The first IPMI LAN channel will now be configured. Thereby, the configured IP address can be accessed at the first LAN port for the server. For the default gateway, both its IP address and MAC address must be configured.
[root@45drives]# ipmitool lan set 1 ipsrc static
[root@45drives]# ipmitool lan set 1 ipaddr
Setting LAN IP Address to
[root@45drives]# ipmitool lan set 1 netmask
Setting LAN Subnet Mask to
[root@45drives]# ipmitool lan set 1 defgw ipaddr
Setting LAN Default Gateway IP to
[root@45drives]# ipmitool lan set 1 defgw macaddr ac:0e:2c:aa:3e:13
Setting LAN Default Gateway MAC to ac:0e:2c:aa:3e:13
  1. You can check the configuration using ipmitool lan print 1.
[root@45drives]# ipmitool lan print 1
Set in Progress         : Set Complete
Auth Type Support       : NONE MD5 PASSWORD 
Auth Type Enable        : Callback : 
                        : User     : 
                        : Operator : 
                        : Admin    : MD5 
                        : OEM      : 
IP Address Source       : Static Address
IP Address              :
Subnet Mask             :
MAC Address             : ac:0e:0c:ea:92:a2
SNMP Community String   : 
IP Header               : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10
BMC ARP Control         : ARP Responses Enabled, Gratuitous ARP Disabled
Gratituous ARP Intrvl   : 2.0 seconds
Default Gateway IP      :
Default Gateway MAC     : ac:0e:2c:aa:3e:13
Backup Gateway IP       :
Backup Gateway MAC      : 00:00:00:00:00:00
RMCP+ Cipher Suites     : None
Cipher Suite Priv Max   : XXXXXXXXXXXXXXX
                        :     X=Cipher Suite Unused
                        :     c=CALLBACK
                        :     u=USER
                        :     o=OPERATOR
                        :     a=ADMIN
                        :     O=OEM
Was this article helpful?
Dislike 0
Views: 116
Unboxing Racking Storage Drives Cable Setup Power UPS Sizing Remote Access