LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 09-22-2006, 04:25 PM   #1
niurkin69
LQ Newbie
 
Registered: Sep 2006
Posts: 4
Blog Entries: 1

Rep: Reputation: 0
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.
 
Old 09-22-2006, 04:37 PM   #2
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
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
 
Old 09-22-2006, 04:56 PM   #3
niurkin69
LQ Newbie
 
Registered: Sep 2006
Posts: 4
Blog Entries: 1

Original Poster
Rep: Reputation: 0
thks a lot, its already working
thks again
 
  


Reply


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
Permanent Default Route gianh Arch 3 05-07-2006 03:31 AM
Fedora Cora 64 /etc/ld.so.conf joey52 Fedora 5 12-22-2004 05:12 PM
Fedora Cora 64 Fresh RPM's joey52 Fedora 4 12-22-2004 04:52 PM
Adding route and making ifconfig permanent gani *BSD 9 09-21-2004 03:01 AM
Adding persistent(permanent) route entries on Red hat Linux 7.1 sram Linux - Networking 1 02-08-2002 11:07 AM


All times are GMT -5. The time now is 12:18 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration