Based on looking over /etc/sysconfig/network-scripts/ifup-routes, RH5 will look for the routes in route-ethX and will cope with the GATEWAY<n>, NETMASK<n>, ADDRESS<n> format as well as the second format.

In looking at the same script on RH3 and RH4, they all reference the GATEWAY<n>, ... as the "new format"

You can always use system-config-network to see what RH creates for you when using their tools.

Hugh

Joe McCarty wrote:
Persistent static routes were once configured in /etc/sysconfig/static-routes.

In RHEL 3, this changed to creating a file /etc/sysconfig/network-scripts/route-ethX for each interface. An entry in a route-ethX file looked similar to:

GATEWAY0=10.10.0.1
NETMASK0=255.0.0.0
ADDRESS0=10.0.0.0

In RHEL 4, the syntax of a route-ethX file changed to something like

10.0.1.0/24 via 192.168.2.4 dev eth0
10.0.4.0/24 via 192.168.2.2 dev eth0

How are persistent static routes configured in RHEL 5?

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to