How to change IPMI network settings via CLI

Written By Christian Castagna (Administrator)

Updated at September 5th, 2025

→ Applies to: VMware ESXi 6.5 and above
 

Step 1. Connect to VMware ESXi CLI (via SSH)

Step 2 (optional). Download IPMI tool binary file  download

This step is required when performing the procedure on VMware ESXi 8.0 or later.
Download the ZIP file and extract the ipmitool.vib file.

 

Step 3 (optional) . Upload IPMI tool file in VMware ESXI /tmp folder

This step is required when performing the procedure on VMware ESXi 8.0 or later.
To upload the ipmitool.vib file to the /tmp directory on VMware ESXi, a third-party tool (e.g. WinSCP) must be used.

 

Step 4 (optional) . Install IPMI tool file in VMware ESXI

esxcli software vib install -v /tmp/ipmitool.vib -f

This step is required when performing the procedure on VMware ESXi 8.0 or later.

 

Step 5. Check the current network parameters

/opt/syneto/bin/ipmitool lan print

– or –

/opt/bin/ipmitool lan print

 

Step 6. Set IP address

ipmitool lan set 1 ipsrc static
ipmitool lan set 1 ipaddr x.x.x.x

 

Step 7. Set subnet mask

ipmitool lan set 1 netmask x.x.x.x

 

Step 8. Set gateway

ipmitool lan set 1 defgw ipaddr x.x.x.x

 

Step 9. Set MAC address (optional)

ipmitool lan set 1 macaddr xx:xx:xx:xx:xx:xx