LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 05-19-2004, 10:12 PM   #1
Dawyea
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, 06:39 PM   #2
Astro
Member
 
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-21-2004, 12:36 AM   #3
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

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


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


All times are GMT -5. The time now is 08:02 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration