Download your favorite Linux distribution at LQ ISO.
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 07-01-2004, 10:40 AM   #1
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, 03:28 PM   #2
Senior Member
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
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
(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


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

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