No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Routes Added on the RH5885 V3 Running a SUSE System Are Ineffective

Publication Date:  2019-04-23 Views:  30 Downloads:  0
Issue Description

On a RH5885 V3 running SUSE 11, a SAP HANA database has been installed. After Yast2 is used to add the route information, the IP gateway whose destination address is 10.0.8.X is changed to (the route traverses the bond0 port whose IP address is However, the route does not take effect after the setting, as shown in the following figure.

(1) Yast2 is used to add the IP gateway for the route

Figure 1 Adding a route using YAST2

(2) The route command is run to check the routing table. No information about the new route is found.

Figure 2 Querying the routing table using the route command

The ifstatus command is run to view the detailed information about the bond0 port. Information about routes in the network segment is not found in the list of activated routes.

Handling Process

If YAST2 is used to add a route, the system does not display any success or error message, and you cannot determine whether the operation is successful or not. In this case, query the system route configuration table to check whether the route has been added to the system.

VLBHANA002:~ # cat /etc/sysconfig/network/routes bond1 eth6 eth4 bond0 bond0 bond0 bond0

default - -

 It is suspected that the route does not take effect because the 10.0.8.X network segment is unreachable. However, the 10.0.8.X network segment is proven reachable from other devices on the same network. In addition, whether the network segment is reachable is not a determining factor for the result of adding a route.

Tests on the mirroring environment show that that the sequence of adding routes can determine whether a route will take effect. For example, if route bond0 is the last route being added, it will not be active. This complies with the symptom on the live network.

If bond0 is moved before the direct route, the route is active.

The following description is found in SUSE-specific cases:

Configuring a direct route and then adding another route does not take effect (conflict)

Root Cause

Based on the preceding analysis, if a route is added after a direct route is configured, this route does not take effect. The current IP address of the NIC is This is a direct route and does not require forwarding. If the route is added, then the route will not take effect. In this case, you need to delete the route

Use YAST2 to delete the route, or delete the direct route from the /etc/sysconfig/network/routes file and restart the network service

Deleting a route using YAST2 or restarting the network service will cause network interruption for a short period of time. Ensure that services are not affected when performing this operation.