Data Domain:如何在 DDOS 6.0 及更新版本中新增靜態閘道 (更多閘道)

Summary: 在 DDOS 6.0 及更新版本中新增靜態閘道 (如果遇到「RTNETLINK 答案」:檔案存在錯誤)。

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.

Symptoms

從 DD OS 6.0 及更新版本開始,Data Domain 使用的是「來源型」路由,而非先前 DDOS 版本中使用的「主機機型」路由。

嘗試為相同子網新增多個路由時出現錯誤範例:
Route command system error.

RTNETLINK answers: File exists

Cause

不允許使用多個路由至相同的子網或主機。如果多個 NIC 必須有路由至相同的子網或主機,建議使用靜態閘道。

例如,DDOS 6.0 及更新版本僅允許使用下列三個以相同 /24 (255.255.255.0) 子網為目標的路由之一。
net 10.10.10.0 netmask 255.255.255.0 gw 10.10.11.1 dev eth1a
net 10.10.10.0 netmask 255.255.255.0 gw 10.10.11.1 dev eth1b
net 10.10.10.0 netmask 255.255.255.0 gw 10.10.11.1 dev veth2
如果在升級至 DDOS 6.0 及更新版本之前,有多個路由如上所述存在,則必須在升級后新增靜態閘道。

Resolution

您可以使用下列命令從命令列介面 (CLI) 新增多個靜態閘道。 
 
注意:靜態閘道無法取代預設閘道。
  1. 為相同子網內的所有網路介面控制器 (NIC) 指派「新增」網關。(這是最常見的用途。)
net route add gateway <Your GW for your NIC>
  1. 為每個 NIC 指派個別閘道專案。
net route add gateway <Your GW for your NIC> interface <NIC ID: such as eth1a>

步驟 1:
從上述的三個路由中,通常只需要新增靜態網關。當 NIC 進入執行狀態時,這會將 GW 新增至子網中的任何現有或未來的 NIC。
net route add gateway 10.10.11.1
步驟 2:
如果希望僅將 GW 新增至這些 NIC,請使用下列命令來指定哪些 NIC 取得 GW 組態。
net route add gateway 10.10.11.1 interface eth1a
net route add gateway 10.10.11.1 interface eth1b
net route add gateway 10.10.11.1 interface veth2

 

Affected Products

Data Domain, DD OS 6.0
Article Properties
Article Number: 000064025
Article Type: Solution
Last Modified: 26 Jul 2023
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.