LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 01-08-2003, 10:23 AM   #1
WeNdeL
Member
 
Registered: Oct 2002
Location: At my desk...
Distribution: RedHat, Fedora, Ubuntu
Posts: 344

Rep: Reputation: 30
Question Adding default route on startup?


For redhat 7.2+, what file do I edit to create my routing table on startup?

My /etc/sysconfig/network file has a GATEWAY entry that points to my default gateway but for some odd reason it isnt there on startup...

/me shrugs

thanks in advance...
 
Old 01-08-2003, 11:13 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,121

Rep: Reputation: 121Reputation: 121
Check in the actual rc scripts usually located in /etc/rc.d
 
Old 01-08-2003, 01:00 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,408

Rep: Reputation: 108Reputation: 108
Look into configuration script /etc/rc.d/init.d/network (there should be a symilnk to it in /etc/rc.d/rd?.d/ where ? is your default runlevel number, usually 3 or 5) and other scripts in /etc/sysconfig/network-scripts
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcpcd not adding default route cpsully69 Linux - Networking 2 09-07-2004 09:09 PM
Route to subnet exists but I get "Network unreachable" when adding default route fciuffani Linux - Networking 4 08-18-2004 02:11 PM
Route dialup modem packets back through dialup instead of default route cable modem jogress Linux - Networking 1 10-21-2003 03:48 PM
Adding default route breaks ping howlie Linux - Networking 4 07-29-2003 10:18 PM
Problem with adding default route... Grim Reaper Linux - Networking 1 02-22-2003 07:29 AM


All times are GMT -5. The time now is 03:06 PM.

Main Menu
 
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
Open Source Consulting | Domain Registration