LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 11-03-2006, 07:03 AM   #1
Shahin
LQ Newbie
 
Registered: Oct 2006
Posts: 6

Rep: Reputation: 0
Destenation IP


Hi,

Iam useing Fedora core 5 with 2 nics, when I run the route command I see that eth0 pointing to the right Destenation but the eth1 point to the wrong destenation.
I did edit the ifcfg-eth0 and ifcfg-eth1 the same but still the same rsult.

destenation IP gw Device

132.229.33.0 132.229.33.180 132.229.33.1 eth0
169.254.0.0 132.229.33.181 132.229.33.1 eth1


any idea how can resolve this issue?

Thanks,

Shahin.
 
Old 11-03-2006, 09:15 AM   #2
Fredde87
Member
 
Registered: Aug 2005
Posts: 158

Rep: Reputation: 30
IP addresses starting with 169. are internal addresses. They are automatically given to a computer which is set to get an ip from a DHCP server when it can not be contacted. What does eth0 connect to? Either give it a manual ip address, netmask and gateway. Or make sure that what ever you are connecting it to (like a router) has got DHCP switched on.
 
Old 11-03-2006, 11:56 AM   #3
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
Quote:
Originally Posted by Fredde87
IP addresses starting with 169. are internal addresses. They are automatically given to a computer which is set to get an ip from a DHCP server when it can not be contacted. What does eth0 connect to? Either give it a manual ip address, netmask and gateway. Or make sure that what ever you are connecting it to (like a router) has got DHCP switched on.
I think freddie is talking abt eth1 up there.

@shahin : .... .
EDIT : I really missed this "destenation IP gw Device"; Phew... & then i took shahin's route command output as a normal route command output. Thx oliv.

Last edited by amitsharma_26; 11-03-2006 at 12:17 PM.
 
Old 11-03-2006, 12:02 PM   #4
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
I think you misread Shahin post...
eth1 has an IP and is 132.229.33.181.
 
Old 11-03-2006, 12:20 PM   #5
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
@oliv : Yes.. i misread that..... & hence corrected/edited my last post. Thx.
@ topic : You can certainly delete that route & add the correct one back.
 
Old 11-06-2006, 02:42 AM   #6
Shahin
LQ Newbie
 
Registered: Oct 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Hi,

Thanks for reply,

I did not setup any of the network cards to use DHCP,

both nics are
eth0 static
eth1 static

one more question,

eth0 is connected to internet and eth1 is not connected at all, when I diconect the eth0 and plug the cable in to the eth1 to make a connection to the internet(just for testing)I have to add the gw manually for the eth1( I did add the IP, subnet and the gw manually to the eth1 and With ifconfig I see the right info)is this normal? or there is a way to solve this issue.

Thanks,

Shahin(Newbie)
 
  


Reply



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



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

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