Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

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

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

This article applies to   This article does not apply to 

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
子网掩码: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 E560F

Products

VxRail E560F
Article Properties
Article Number: 000021556
Article Type: How To
Last Modified: 25 Aug 2023
Version:  10
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.