使用 IPMItool 配置 BMC IP 地址

1)显示BMC的IP地址信息(可以使用其它通道号如2,3,4等来查看设备可以使用的通道的信息,通常配置通道1,以下命令中的1都是代

表配置通道1)

# ipmitool lan print 1
# ipmitool channel info 1

2)设置通道1使用静态IP地址。

# ipmitool lan set 1 ipsrc static

3)设置BMC的IP地址。

# ipmitool lan set 1 ipaddr 192.168.100.142

4)设置BMC的子网掩码。

# ipmitool lan set 1 netmask 255.255.255.0

5)设置IPMI的网关。

# ipmitool lan set 1 defgw ipaddr 192.168.100.254

6)确认BMC的IP地址信息

# ipmitool lan print 1
1 次浏览 更新于 2026-11-04

同组文章通用工具与资料

查看本组全部 4 篇

没有找到想要的答案?

上传日志让 AI 帮你诊断,或者在控制台里直接向 AI 提问。