Leonard Chvilicek

Using IPMITool to Configure iDRAC Network Settings

Blog Post created by Leonard Chvilicek Employee on Mar 1, 2017

When you can't get to the data center and attach a monitor to configure the network settings for the iDRAC, you can use the IPMITool command line utility from an SSH terminal window, like PuTTY.


Listed below are the network configuration commands I found helpful.


Set the iDRAC Network Configuration


      ipmitool lan set <command> <parameter>

      ipmitool mc reset warm



[root@APPLIANCE14 ~]# ipmitool lan set 1 ipsrc static

[root@APPLIANCE14 ~]# ipmitool lan set 1 ipaddr

[root@APPLIANCE14 ~]# ipmitool lan set 1 netmask

[root@APPLIANCE14 ~]# ipmitool lan set 1 defgw ipaddr

[root@APPLIANCE14 ~]# ipmitool mc reset warm


List the iDRAC Network Configuration


      ipmitool lan print



[root@APPLIANCE14 ~]# ipmitool lan print

Set in Progress : Set Complete
Auth Type Support : NONE MD2 MD5 PASSWORD
Auth Type Enable : Callback : MD2 MD5
: User : MD2 MD5
: Operator : MD2 MD5
: Admin : MD2 MD5
: OEM :
IP Address Source : Static Address
IP Address :
Subnet Mask :
MAC Address : 54:00:00:00:00:00
SNMP Community String : public
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 : 00:00:00:00:00:00
Backup Gateway IP :
Backup Gateway MAC : 00:00:00:00:00:00
802.1q VLAN ID : Disabled
802.1q VLAN Priority : 0
RMCP+ Cipher Suites : 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14
Cipher Suite Priv Max : Xaaaaaaaaaaaaaa
: X=Cipher Suite Unused
: u=USER


Full List of Options for 'ipmitool lan set'

[root@APPLIANCE14 ~]# ipmitool lan set


usage: lan set <channel> <command> <parameter>


LAN set command/parameter options:
ipaddr <x.x.x.x>                         Set channel IP address
netmask <x.x.x.x>                     Set channel IP netmask
macaddr <x:x:x:x:x:x>               Set channel MAC address
defgw ipaddr <x.x.x.x>              Set default gateway IP address
defgw macaddr <x:x:x:x:x:x>    Set default gateway MAC address
bakgw ipaddr <x.x.x.x>             Set backup gateway IP address
bakgw macaddr <x:x:x:x:x:x>    Set backup gateway MAC address
password <password>               Set session password for this channel
snmp <community string>           Set SNMP public community string
user                                              Enable default user for this channel
access <on|off>                           Enable or disable access to this channel
alert <on|off>                                Enable or disable PEF alerting for this channel
arp respond <on|off>                    Enable or disable BMC ARP responding
arp generate <on|off>                  Enable or disable BMC gratuitous ARP generation
arp interval <seconds>               Set gratuitous ARP generation interval
vlan id <off|<id>>                         Disable or enable VLAN and set ID (1-4094)
vlan priority <priority>                  Set vlan priority (0-7)
auth <level> <type,..>                  Set channel authentication types
      type = NONE, MD2, MD5, PASSWORD, OEM
      ipsrc <source> Set IP Address source   
      none = unspecified source
      static = address manually configured to be static
      dhcp = address obtained by BMC running DHCP
      bios = address loaded by BIOS or system software
cipher_privs XXXXXXXXXXXXXXX Set RMCP+ cipher suite privilege levels
      X = Cipher Suite Unused
      c = CALLBACK
      u = USER   
      o = OPERATOR
      a = ADMIN
      O = OEM