Blog·Tanky WooABOUTRSS

Use Ipmi To Change Ipmi Ip Configuration

23 Dec 2013

通过 sol 登陆终端:

ipmitool -I lanplus -H <hostname> -U <username> -P <password> sol activate

加载内核模块:

modprobe ipmi_devintf
modprobe ipmi_si

修改本机ipmi的ip/netmask/gw:

ipmitool -I open lan set 1 ipaddr <ip>
ipmitool -I open lan set 1 netmask <netmask>
ipmitool -I open lan set 1 defgw ipaddr <gw>

确认配置:

ipmitool lan print 1

参考: