База знаний: Общий FAQ
Настройка сети в IPMI Tool через Esxi
Автор Алексей | HiTex.BY на 09 марта 2021 10:44

В этом посте описаны шаги, необходимые для назначения / изменения IP-адреса для IPMI без входа в портал IPMI или перезапуска сервера.

Инструмент, который мы собираемся использовать, - это ipmitool, встроенный в ESXi.

Чтобы получить текущие сведения об IP-адресе IPMI:
#/ipmitool lan print 1

[root@esxi]# /ipmitool lan set 1 ipsrc static

[root@esxi]# /ipmitool lan set 1 ipaddr x.x.x.x
Setting LAN IP Address to x.x.x.x

[root@esxi]# /ipmitool lan set 1 netmask x.x.x.x
Setting LAN Subnet Mask to x.x.x.x

[root@esxi]# /ipmitool lan set 1 defgw ipaddr x.x.x.x
Setting LAN Default Gateway IP to x.x.x.x

[root@esxi]# /ipmitool lan set 1 defgw macaddr xx:xx:xx:xx:xx:xx
Setting LAN Default Gateway MAC to xx:xx:xx:xx:xx:xx

[root@esxi]# /ipmitool lan set 1 arp respond on
Enabling BMC-generated ARP responses

[root@esxi]# /ipmitool lan set 1 snmp public
Setting LAN SNMP Community String to public

Change the IPMI Password

[root@esxi]# /ipmitool user list (Note down the user ID in mycase it is 2)
[root@esxi]# /ipmitool user set password 2
[root@esxi]# /ipmitool lan set 1 access on

(0 голос(а))
Эта статья полезна
Эта статья бесполезна

Комментарии (0)