How do I add a network route permanently using "route add" command in linux.

unix syzadmin unixsyzadmin at gmail.com
Fri Feb 24 03:42:20 UTC 2006


Hi,

I have added the following route on a RHEL AS4 server.  How do I make this
route a permanent one.  In other words, how do I add a route that persists
after reboot.

route add -net 0.0.0.0 netmask 0.0.0.0 gw 172.22.40.1 dev eth0

Thanks & Regards,
-GnanaShekar-



More information about the redhat-list mailing list