Configuring permanent routes

Ritesh Agrawal ritesh.a at net4india.net
Wed Jun 15 12:21:59 UTC 2005



Add the default gateway in
/etc/sysconfig/network file
e.g.

GATEWAY=xxx.xxx.xxx.xxx

then restart the network

-Ritesh

Richard Hobbs wrote:
> Hello,
> 
> I need to configure some permanent routes on a RedHat 8.0 box.
> 
> I can do this with the following command but when I reboot, all changes are
> lost. How can I make it stick?
> 
>   route -v add -net 192.168.4.0/24 gw 192.168.3.160
> 
> Thanks in advance,
> Hobbs.
> 





More information about the redhat-list mailing list