Data Domain: How to Add Static Gateways in DDOS 6.0 and Later (More Gateways)

概要: Adding static gateways in DDOS 6.0 and later (if encountering 'RTNETLINK answer: File Exists' error).

この記事は次に適用されます: この記事は次には適用されません: この記事は、特定の製品に関連付けられていません。 すべての製品パージョンがこの記事に記載されているわけではありません。

現象

Starting in DD OS 6.0 and later, Data Domain is using "source based" routing rather than "host model" routing used in previous DDOS releases. 

Example of error seen when attempting add multiple routes for the same subnet:
Route command system error.

RTNETLINK answers: File exists

原因

The use of multiple routes to the same subnet or host is not allowed. If multiple NICs must have routes to the same subnet or host, the use of static gateways is recommended.

For example, only one of the following three routes that targets the same /24 (255.255.255.0) subnet are allowed in DDOS 6.0 and later.
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
If multiple routes existed as described above before an upgrade to DDOS 6.0 and later, static gateways must be added after the upgrade.

解決方法

You may add multiple static gateways using the following command from the Command Line Interface (CLI). 
 
NOTE: Static Gateways do not take the place of default gateways.
  1. Assign "added" gateway for all Network Interface Controllers (NICs) within the same subnet. (This is the most common usage.)
net route add gateway <Your GW for your NIC>
  1. Assign individual gateway entries per NIC.
net route add gateway <Your GW for your NIC> interface <NIC ID: such as eth1a>

Step1:
From the example above with the three routes, all that is needed usually is to add the static gateway. This adds the GW to any existing or future NICs in the subnet when the NIC comes into running state.
net route add gateway 10.10.11.1
Step 2:
If the desire is to add the GW to only these NICs, then use the following commands to specify which NICs get the GW configuration.
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

 

対象製品

Data Domain, DD OS 6.0
文書のプロパティ
文書番号: 000064025
文書の種類: Solution
最終更新: 26 7月 2023
バージョン:  4
質問に対する他のDellユーザーからの回答を見つける
サポート サービス
お使いのデバイスがサポート サービスの対象かどうかを確認してください。