Linux系统不重启修改ipmi的IP方法

2012年10月30日 系统技术 暂无评论 阅读 5,843 次

一、检测IPMI组件

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

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

IPMI Device Information

Interface Type: KCS (Keyboard Control Style)

Specification Version: 2.0

I2C Slave Address: 0x10

NV Storage Device: Not Present

Base Address: 0x0000000000000CA8

二、重启IPMI服务

#/etc/init.d/ipmi start

三、配置ip以及netmask

#ipmitool lan set 1 ipaddr 10.0.0.12

#ipmitool lan set 1 netmask 255.255.255.0

#ipmitool lan set 1 ipsrc static

#ipmitool lan set 1 defgw ipaddr 10.0.0.254

四、重启BMC使配置生效

# ipmitool mc reset cold

五、等待约1分钟后,使用IE登录或ping 配置好的IP地址,验证设置是否有效。

标签:

评论已关闭!