Re: how to set up static routes in RHEL4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 19 May 2006 02:21, Fabien Germain wrote:
> Hi,
> 
> On 5/19/06, Götz Reinicke <goetz.reinicke@xxxxxxxxxxxxxxx> 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
> 

Both methods work and are good for different things. One advantage of the route-eth? scripts is that the routes are brought up and down when the interface is. 

-Allen

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux