VxRail:如何远程配置 iDRAC 网络设置

Summary: 这些步骤介绍了如何检查是否已将 IP 分配给 iDRAC,以及如何在需要时分配静态 IP。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

必须在每个主机上完成以下步骤才能远程配置 iDRAC。

所需信息包括:

  • 要分配的 IP 的列表
  • 网关 IP
  • 子网 IP
  • VLAN ID

例如:
iDRAC 主机 1:10.xx.xx.21
iDRAC 主机 2:10.xx.xx.22
iDRAC 主机 3:10.xx.xx.23
iDRAC 主机 4:10.xx.xx.24
iDRAC 主机 5:10.xx.xx.25
Subnet mask:255.255.255.0
网关:10.xx.xx.1

如何检查当前 iDRAC 设置:

  1. 使用 PuTTY 连接到第一个主机。
  2. 找到 ipmitool 位置(通过运行) find / -name ipmitool 分析文件,然后按 Enter 键。示例响应为: /opt/vxrail/tools/ipmitool。记录回答。
  3. 通过运行以下命令查找是否分配了 IP:
    [上一个命令的路径]ipmitool lan print 1
    响应显示静态,并列出 IPv4 的 IP。如果我们使用 DHCP 而不是静态,并且 IPv4 显示 0.0.0.0,则表示尚未分配 IP。

如何设置 iDRAC 网络设置:
  1. 要分配 IP 地址,请通过运行以下命令将其从动态更改为静态:
    [上一个命令的路径]ipmitool lan set 1 ipsrc static
  2. 通过运行以下命令将 IP 分配给 iDRAC:
    [上一个命令的路径]ipmitool lan set 1 ipaddr 10.xx.xx.21
  3. 通过运行以下命令分配网络掩码:
    [上一个命令的路径]ipmitool lan set 1 netmask 255.255.255.0
  4. 通过运行以下命令分配网关 IP 地址:
    [上一个命令的路径]ipmitool lan set 1 defgw ipaddr 10.xx.xx.1
  5. 通过运行以下命令,设置要使用的 VLAN ID(例如 100):
    [上一个命令的路径]ipmitool lan set 1 vlan id 100
提醒:
  • 用户必须提供 VLAN ID。
  • 如果用户未设置 VLAN ID,请通过运行以下命令禁用 VLAN:
    [上一个命令的路径]ipmitool lan set 1 vlan id off
   6.将 root 密码更改为 password 通过运行:
       [上一个命令的路径]ipmitool user set password 2 password

提醒:命令中的最后一个参数是要使用的客户密码。

   7.对所有其他节点重复此作。

Additional Information

Affected Products

VxRail, VxRail D560, VxRail D560F, VxRail E460, VxRail E560, VxRail E560F, VxRail E560N, VxRail E660, VxRail E660F, VxRail E660N, VxRail E665, VxRail E665F, VxRail E665N, VxRail G560, VxRail G560F, VxRail P470, VxRail P570, VxRail P570F, VxRail P580N , VxRail P670F, VxRail P670N, VxRail P675F, VxRail P675N, VxRail S470, VxRail S570, VxRail S670, VxRail V470, VxRail V570, VxRail V570F, VXRAIL V670F, VxRail VD-4510C, VxRail VD-4520C, VxRail VE-660, VxRail VE-6615, VxRail VP-760, VxRail VP-7625 ...

Products

VxRail, VxRail D Series Nodes
Article Properties
Article Number: 000021556
Article Type: How To
Last Modified: 29 Jul 2025
Version:  13
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.