I have acquired a static IP for IPMI, then try to configure it in Linux.
ipmitool lan set 1 access off ## must set, or the following command will have no effect.
ipmitool lan set 1 ipsrc static
ipmitool lan set 1 ipaddr X.X.X.X
ipmitool lan set 1 netmask X.X.X.X
ipmitool lan set 1 defgw ipaddr X.X.X.X
ipmitool lan set 1 access on
ipmitool mc reset warm ## must have, or BMC won't work.