LinuxQuestions.org
Register a domain and help support LQ
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
  Search this Thread
Old 01-08-2003, 11: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, 12:13 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

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

Rep: Reputation: 164Reputation: 164
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



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


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