FAQ: static routes after restart/reboot in Fedora/RedHat/CentOS

route 66Static routing is the term used to refer to the manual method used to set up routing. An administrator enters routes into the router using configuration commands. This method has the advantage of being predictable, and simple to set up. It is easy to manage in small networks but does not scale well.

Question: How can I save static routes I set up in my Fedora/RedHat/CentOS Linux after I reboot server?

Answer: In Fedora Linux (or RedHat, CentOS) you can set up static routes for certain network interface (for example eth1) by editing file /etc/sysconfig/network-scripts/route-eth1.

For example, you have to save static route added by the following command:

route add -net netmask gw dev eth1

To do it, just add the following line to /etc/sysconfig/network-scripts/route-eth1:


Information improvisation: We offer up to date http:///642-457.htm practice questions with to help you pass http://www.test-king.com/exams/70-417.htm and complete your ccent course & http://www.icdl.com/ you should also find http://www.actualtests.com/exam-70-417.htm training for your complete task.


Stefan Durand

My name is Stefan, I'm the admin of LinuxScrew. I am a full-time Linux/Unix sysadmin, a hobby Python programmer, and a part-time blogger. I post useful guides, tips, and tutorials on common Linux and Programming issues. Feel free to reach out in the comment section.

2 thoughts on “FAQ: static routes after restart/reboot in Fedora/RedHat/CentOS”

Leave a Reply

Your email address will not be published. Required fields are marked *