LinuxQuestions.org
Review your favorite Linux distribution.
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 07-01-2004, 09:40 AM   #1
csu19032
LQ Newbie
 
Registered: Jun 2004
Location: Atlanta GA.
Distribution: RH9, Knoppix & DSL
Posts: 2

Rep: Reputation: 0
Question making a default gateway permanent


Hello all I'm able to add a default route to my RH box, however my change won't survive a reboot. what file do I need to edit to make this change stick?
 
Old 07-01-2004, 02:28 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
if the route is associated with a certain device then the config file in
/etc/sysconfig for that device can have a GATEWAY= entry
but the easiest thing is to just put the route command you are using
at the bottom of a startup script
say
/etc/rc.d/init.d/rc
(different distros have way different converntions for this)
but somewhere you will find as apropriate
even at the bottom of
/etc/inittab will work i bet
 
  


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
making chmod permanent Beckerjr Linux - General 5 05-11-2005 12:08 PM
making changes permanent through mii-tool simplyrahul Linux - Networking 1 11-20-2004 12:56 PM
Making Routing Table Changes Permanent gabriele_101 Linux - Networking 3 11-18-2004 07:30 AM
Making Changes Permanent T-u-N-i-X Linux - General 1 09-01-2003 05:47 AM
Making SMBMOUNT Permanent unclebyron Linux - General 2 01-31-2002 05:24 PM

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

All times are GMT -5. The time now is 09:48 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