Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-08-2003, 10:23 AM   #1
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
LQ Guru
Registered: Jan 2001
Posts: 24,149

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

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


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 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 > Forums > Linux Forums > Linux - Newbie

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