how to set up static routes in RHEL4

Fabien Germain fabien.germain at gmail.com
Fri May 19 09:21:01 UTC 2006


Hi,

On 5/19/06, Götz Reinicke <goetz.reinicke at filmakademie.de> wrote:
> where and how do I set up static routes in RHEL4? Is it the same as for
> RHEL3 as shown here:
>
> http://kbase.redhat.com/faq/FAQ_79_2561.shtm
>
> using the a file /etc/sysconfig/network-scripts/route-eth(N)

No, it's now in /etc/sysconfig/static-routes, and looks like that :

any net 192.168.34.0 netmask 255.255.255.0 gw 192.168.1.3
any net 192.168.96.0 netmask 255.255.255.0 gw 192.168.1.3
any net 192.168.97.0 netmask 255.255.255.0 gw 192.168.1.3

Fabien




More information about the redhat-list mailing list