服务器通过命令修改带外地址
ipmitool lan set 1 ipsrc static
ipmitool lan set 1 ipaddr 192.168.70.154
ipmitool lan set 1 netmask 255.255.255.0
ipmitool lan set 1 defgw ipaddr 192.168.70.254
ipmitool lan set 1 access on
ipmitool lan print
以下服务器是实操状态
登陆测试
能打开代表 设置成功
没有ipmi 命令请参考以下安装
Centos7:
一、先安装所需服务
yum -y install epel-release
yum -y install ipmitool
yum install OpenIPMI ipmitool
yum info OpenIPMI(查看信息)
rpm -ql ipmitool
ipmitool -V(查看版本)
二、加载所需模块
modprobe ipmi_watchdog
modprobe ipmi_poweroff
modprobe ipmi_devintf
modprobe ipmi_msghandler
modprobe ipmi_si
lsmod | grep ipmi
三、启动服务
systemctl start ipmievd.service
systemctl status ipmievd.service
四、修改BMC密码