Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 05-19-2004, 09:12 PM   #1
LQ Newbie
Registered: May 2004
Distribution: Fedora Core 1
Posts: 11

Rep: Reputation: 0
Default Gateway reset

I have 2 ethernet cards, eth0 and eth1. eth0 is connected to the internet through a static IP address. Every time I restart my network I have to reassign the default gateway for eth0. Shouldn't this value be saved somewhere so I don't have to reassign it every time? Thanks
Old 05-20-2004, 05:39 PM   #2
Registered: Jan 2003
Location: Ballston Lake, NY
Distribution: Slackware, Debian
Posts: 660

Rep: Reputation: 30
The gateway is in your /etc/rc.d/rc.inet1 script on Slackware around line 27..
Old 05-20-2004, 11:36 PM   #3
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 49
Assuming your Linux box runs Fedora Core 1 (Yarrow),

check the file /etc/sysconfig/network

If it does not have a GATEWAY entry, add

GATEWAY= <your default gateway>


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
Reset Yum and Synaptic to their default configurations JRR883 Linux - Software 3 10-19-2005 03:14 PM
How to reset the default console font? jkobrien Slackware 1 05-23-2005 01:26 PM
how to reset system default for my session ampersand Linux - General 4 12-21-2004 10:31 PM
How can I reset k3b to default snatale1 Linux - Software 7 09-06-2004 07:19 PM
Reset Default Permission vcheah Linux - Software 1 02-22-2003 07:58 PM > Forums > Linux Forums > Linux - Networking

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