LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Help with static route (https://www.linuxquestions.org/questions/linux-networking-3/help-with-static-route-369993/)

noinfo 10-05-2005 09:25 AM

Help with static route
 
I'm using Fedora Core 4
Typing in this command works fine:
/route add -net 10.65.16.0 netmask 255.255.252.0 gw 10.65.33.1

How do I add this so it gets added durring boot?

Snowbat 10-05-2005 11:40 AM

Assuming eth0 you could create a file /etc/sysconfig/network-scripts/route-eth0 as described here:
http://www.linuxquestions.org/questi...11#post1835111

Alternatively, append the command to /etc/rc.d/rc.local


All times are GMT -5. The time now is 12:11 PM.