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

Notices


Reply
  Search this Thread
Old 10-05-2005, 09:25 AM   #1
noinfo
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 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?
 
Old 10-05-2005, 11:40 AM   #2
Snowbat
Member
 
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:
http://www.linuxquestions.org/questi...11#post1835111

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:48 PM.

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