1.安装IPMItool工具

# yum install ipmitool

2.检测IPMI组件

# dmidecode |sed -n '/IPMI/,+5p'

出现以下信息,说明支持IPMI

IPMI Device Information

Interface Type: KCS (Keyboard Control Style)

Specification Version: 2.0

I2C Slave Address: 0x00

NV Storage Device: Not Present

Base Address: 0x0000000000000CA2 (I/O)

3.配置ip以及netmask

#ipmitool lan set 1 ipaddr 172.17.1.55

#ipmitool lan set 1 netmask 255.255.255.0

#ipmitool lan set 1 ipsrc static

#ipmitool lan set 1 defgw ipaddr 172.17.1.1

4.重启BMC使配置生效

# ipmitool mc reset cold

示例:

1f76e34fdd6d87e54300d1108739efca.png

相关

Logo

更多推荐