LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-22-2006, 03: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, 03: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, 03:56 PM   #3
niurkin69
LQ Newbie
 
Registered: Sep 2006
Posts: 4

Original Poster
Blog Entries: 1

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


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

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

All times are GMT -5. The time now is 02:21 AM.

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