LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Permanent static Route on fedora cora 5 (http://www.linuxquestions.org/questions/linux-networking-3/permanent-static-route-on-fedora-cora-5-a-486083/)

niurkin69 09-22-2006 03:25 PM

Permanent static Route on fedora cora 5
 
Hi, i'm new in fedora core 5, how could i make a permanent static route on fedora core 5, i mean i added this line to my box route add -net x.x.x.x netmask x.x.x.x gw eth1, but when i reboot the pc, it is erased.

amitsharma_26 09-22-2006 03:37 PM

put
Code:

route add -net x.x.x.x netmask x.x.x.x gw eth1
this in any of the startup scripts. For example you can use /etc/rc.local

niurkin69 09-22-2006 03:56 PM

thks a lot, its already working
thks again


All times are GMT -5. The time now is 04:34 AM.