LinuxQuestions.org
Help answer threads with 0 replies.
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 07-13-2004, 11:49 PM   #16
poj
LQ Newbie
 
Registered: Oct 2003
Location: Bangkok, Thailand.
Distribution: Debian,Ubuntu
Posts: 19

Original Poster
Rep: Reputation: 0

thanks everyone and great job maxut,

My problem get fix. I'm not sure what it should be or this is the rigth way to config alias network. I go to /etc/sysconfig/network file and found that it has one line

GATEWAY=202.183.x.97

I guess may be redhat define gateway 3 times(for my case)

in ifcfg-eth0 =>GATEWAY=202.183.x.97
in ifcfg-eth0:1 =>GATEWAY=192.168.1.1
and in /etc/sysconfig/network =>GATEWAY=202.183.x.97

so it double default gw in my routing table

after I delete one in network file and reboot machine my routing is look OK and no manually delete anymore.
 
Old 07-14-2004, 12:20 AM   #17
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Great and thank you for posting how your resolved your problem.
 
Old 07-14-2004, 07:05 AM   #18
thasen
LQ Newbie
 
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
If you need only 1 gw, you have to delete the line GATEWAY=192.168.1.1 in the ifcfg-eth0:1
 
  


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
routing table arvind kumar Linux - Networking 2 06-08-2005 11:59 PM
Help with a Routing Table maginotjr Linux - Networking 4 06-06-2005 09:49 AM
how to set default entry in routing table? cranium2004 Linux - Networking 7 03-15-2005 05:26 PM
Default Gateway Not Listed In Routing Table krazyace78 Linux - Networking 0 10-05-2004 12:09 PM
routing table upr8830 Linux - Networking 6 06-18-2003 03:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:36 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
Open Source Consulting | Domain Registration