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?

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

Reply via email to