Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-05-2005, 09:25 AM   #1
LQ Newbie
Registered: Oct 2005
Posts: 3

Rep: Reputation: 0
Help with static route

I'm using Fedora Core 4
Typing in this command works fine:
/route add -net netmask gw

How do I add this so it gets added durring boot?
Old 10-05-2005, 11:40 AM   #2
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
Assuming eth0 you could create a file /etc/sysconfig/network-scripts/route-eth0 as described here:

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
permanently add static route glock19 Linux - Networking 27 07-27-2015 04:59 PM
static route configuration guide bholler Linux - Networking 4 05-20-2005 12:21 PM
static route cox Linux - Networking 3 09-30-2003 02:22 PM
STATIC Route using IPTables Milkman00 Linux - Networking 3 03-06-2003 07:47 PM
Static route to a router? Milkman00 Linux - Networking 9 02-09-2003 11:11 AM > Forums > Linux Forums > Linux - Networking

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration