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
子網路遮罩: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.將根密碼變更為 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.