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 18.104.22.168, and network 22.214.171.124/24 to the gateway GATEWAY1=126.96.36.199.
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.