Data Domain:如何在 DDOS 6.0 及更高版本中添加静态网关(更多网关)

Summary: 在 DDOS 6.0 及更高版本中添加静态网关(如果遇到“RTNETLINK 答案:File Exists'(文件存在)错误)。

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.