How to change IPMI network settings via CLI

Written By Christian Castagna (Administrator)

Updated at January 21st, 2025

 

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

Step 2. Check the current network parameters

/opt/syneto/bin/ipmitool lan print

– or –

/opt/bin/ipmitool lan print

 

Step 3. Set IP address

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

 

Step 4. Set subnet mask

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

 

Step 5. Set gateway

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

 

Step 6. Set MAC address (optional)

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