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:

ADDRESS0=137.72.95.60
NETMASK0=255.255.255.255
GATEWAY0=137.72.92.65
ADDRESS1=137.72.96.0
NETMASK1=255.255.255.0
GATEWAY1=137.72.92.65

In this example, two static routes are added to the IP 137.72.95.60, and network 137.72.96.0/24 to the gateway GATEWAY1=137.72.92.65.

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

Comments