Data Domain: How to Add Static Gateways in DDOS 6.0 and Later (More Gateways)
Summary: Adding static gateways in DDOS 6.0 and later (if encountering 'RTNETLINK answer: File Exists' error).
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
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:
Example of error seen when attempting add multiple routes for the same subnet:
Route command system error. RTNETLINK answers: File exists
Cause
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.
If multiple routes existed as described above before an upgrade to DDOS 6.0 and later, static gateways must be added after the upgrade.
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
Resolution
You may add multiple static gateways using the following command from the Command Line Interface (CLI).
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.
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.
NOTE: Static Gateways do not take the place of default gateways.
- 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>
- 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
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
Affected Products
Data Domain, DD OS 6.0Article 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.