Adding static routes

Adding static routes to the BMC Atrium Discovery server is necessary only in rare occasions. Routing is configured on routing devices, therefore it should not be necessary to configure static routes on Red Hat Enterprise Linux servers or clients. However, if you require this type of configuration you can store the routes in a /etc/sysconfig/network-scripts/route-interface file. Static routes should only be configured for other subnets.

For example, static routes for the eth0 interface would be stored in the file /etc/sysconfig/network-scripts/route-eth0 with a format similar to the following:


In this example, two static routes are added to the IP, and network to the gateway GATEWAY1=

Duplicate default gateways

If the default gateway is already assigned from DHCP, the IP command arguments format can cause one of two errors during start-up. These errors can also occur if you have another route to another network using the default gateway. The errors are safe to ignore.

For more information on configuring static routes, see the Red Hat Linux documentation. Further, you should take into consideration the warnings regarding support of OS customizations to your appliance.

Was this page helpful? Yes No Submitting... Thank you