Determining IP information for eth0 failed

This is a discussion on Determining IP information for eth0 failed within the Linux Networking forums, part of the Linux Forums category; When my redhat 9.0 boot it cannot get an ip address. The network card is detected correctly. I can ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2004
Pierre Forest
 
Posts: n/a
Default Determining IP information for eth0 failed

When my redhat 9.0 boot it cannot get an ip address.
The network card is detected correctly.
I can go on internet via my modem everything is ok exept eth0

This rh 9.0 is on a network win a win2000 pro machine
They dont see each other.

Do i need to install a dhcp server in my redhat to get an ip address or
is it possible to get one automatically?

ifconfig eth0 gives this
eth0 Link encap:Ethernet HWaddr 00:20:78:B0:0A:1A
IPX/Ethernet 802.3 addr:002078B00A1A
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:10602 (10.3 Kb)
Interrupt:10 Base address:0x5000

My RH 9.0 machine was working correctly with novell few weeks ago.

Reply With Quote
  #2 (permalink)  
Old 04-10-2004
Joachim Mæland
 
Posts: n/a
Default Re: Determining IP information for eth0 failed

On Sat, 10 Apr 2004 10:33:08 -0400, Pierre Forest wrote:

> When my redhat 9.0 boot it cannot get an ip address.
> The network card is detected correctly.
> I can go on internet via my modem everything is ok exept eth0
>
> This rh 9.0 is on a network win a win2000 pro machine
> They dont see each other.
>
> Do i need to install a dhcp server in my redhat to get an ip address or
> is it possible to get one automatically?


You never use a DHCP server to assign IP addresses to the same NIC, the
DHCP server is supposed to assign addresses on.

Eth0, is it connected to a LAN? What's on the LAN, besides the Wintendo?

How does the Wintendo acquire an IP address?

What's the IP address of the Wintendo?

How are these boxes connected to the Internet?

--
mvh/regards
Joachim Mæland

If everything seems under control, you're just not going fast enough.
-Mario Andretti

Reply With Quote
  #3 (permalink)  
Old 04-10-2004
mgrd
 
Posts: n/a
Default Re: Determining IP information for eth0 failed

Pierre Forest wrote:
>>When my redhat 9.0 boot it cannot get an ip address.
>>The network card is detected correctly.
>>I can go on internet via my modem everything is ok exept eth0


try `ifconfig eth0 up <address>'
where: <address> should be in the same network segment like
your windows box
Reply With Quote
  #4 (permalink)  
Old 04-10-2004
Pierre Forest
 
Posts: n/a
Default Re: Determining IP information for eth0 failed

mgrd wrote:
> Pierre Forest wrote:
>
>>> When my redhat 9.0 boot it cannot get an ip address.
>>> The network card is detected correctly.
>>> I can go on internet via my modem everything is ok exept eth0

>
>
> try `ifconfig eth0 up <address>'
> where: <address> should be in the same network segment like
> your windows box

I type ifconfig eth0 up 169.254.52.43 netmask 255.255.0.0
I now have an ip address with the same mask as the other windows 2000
computer.
I cannot ping the other computer.
The yellow link led on the hub is on an both computer show correct link.


Reply With Quote
  #5 (permalink)  
Old 04-10-2004
Pierre Forest
 
Posts: n/a
Default Re: Determining IP information for eth0 failed

Joachim Mæland wrote:
> On Sat, 10 Apr 2004 10:33:08 -0400, Pierre Forest wrote:
>
>
>>When my redhat 9.0 boot it cannot get an ip address.
>>The network card is detected correctly.
>>I can go on internet via my modem everything is ok exept eth0
>>
>>This rh 9.0 is on a network win a win2000 pro machine
>>They dont see each other.
>>
>>Do i need to install a dhcp server in my redhat to get an ip address or
>>is it possible to get one automatically?

>
>
> You never use a DHCP server to assign IP addresses to the same NIC, the
> DHCP server is supposed to assign addresses on.
>
> Eth0, is it connected to a LAN? What's on the LAN, besides the Wintendo?
>
> How does the Wintendo acquire an IP address?
>
> What's the IP address of the Wintendo?
>
> How are these boxes connected to the Internet?
>

Only 2 computer in a home network
win2000 + hub + rh 9.0 with a modem to access internet
Wintendo have its address automatically, 169.254.52.42 255.255.0.0
I tried ifconfig eth0 up 169.254.52.43 netmask 255.255.0.0
Now I have an ip address, but
I cannot ping the other computer.
Is there any configuration file or script i should look at?
How do redhat manage to get its ip address automatically?
help-



Reply With Quote
  #6 (permalink)  
Old 04-10-2004
P Gentry
 
Posts: n/a
Default Re: Determining IP information for eth0 failed

Pierre Forest <pforest@arobas.net> wrote in message news:<CvSdnfrit9Q4mOXdRVn-ig@b2b2c.ca>...
> When my redhat 9.0 boot it cannot get an ip address.


Should you be getting network config via DHCP? For this prupose RH9
uses dhclient.

> The network card is detected correctly.
> I can go on internet via my modem everything is ok exept eth0


via modem -> what kind? dsl? cable? dial-up/serial?
what is eth0 connected to? is it your interface to the internet?
I'm confused about the details of your setup re: modem, eth0, internet
connection. Is this a home setup?

> This rh 9.0 is on a network win a win2000 pro machine
> They dont see each other.


"don't see each other" -> in what sense? ping? arp? what network
protocol connects them? IP? IPX? Microsoft Client?

> Do i need to install a dhcp server in my redhat to get an ip address or
> is it possible to get one automatically?


dhclient _fetches_ net configuration info _from_ a DHCP server. You
need a client.

> ifconfig eth0 gives this
> eth0 Link encap:Ethernet HWaddr 00:20:78:B0:0A:1A
> IPX/Ethernet 802.3 addr:002078B00A1A


Is this correct or left over from your Netware connection? Have you
run neat?

> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:100
> RX bytes:0 (0.0 b) TX bytes:10602 (10.3 Kb)
> Interrupt:10 Base address:0x5000
>
> My RH 9.0 machine was working correctly with novell few weeks ago.


Are you still on the Netware network as your eth0 is configured for
IPX -> Netware? It _is_ transmiting (10.3Kb so far) but there is no
one at the other end of the IPX/Netware connection to answer, it would
seem.

Really need info on your intended connections/setup. Right now I
can't tell if you intend to run IPX on a Netware net at "work" or you
want to run TCP/IP to connect to the internet at home. If the latter,
you need to re-configure your eth0 card to run TCP/IP using neat (from
the command line or Start > System Settings > Network. Check out the
RH manuals -- much good network setup info (especially the
Installation and Customization guides).

hth,
prg
email above disabled
Reply With Quote
  #7 (permalink)  
Old 04-10-2004
Antoine EMERIT
 
Posts: n/a
Default Re: Determining IP information for eth0 failed

Pierre Forest <pforest@arobas.net> wrote news:ao6dnbogCaya2-XdRVn-
jg@b2b2c.ca:
> I tried ifconfig eth0 up 169.254.52.43 netmask 255.255.0.0


add a route to the network 169.254.0.0 :

route add -net 169.254.0.0 netmask 255.255.0.0 dev eth0


Regards
Reply With Quote
  #8 (permalink)  
Old 04-11-2004
David Efflandt
 
Posts: n/a
Default Re: Determining IP information for eth0 failed

On Sat, 10 Apr 2004 15:00:05 -0400, Pierre Forest <pforest@arobas.net> wrote:
> mgrd wrote:
>> Pierre Forest wrote:
>>
>>>> When my redhat 9.0 boot it cannot get an ip address.
>>>> The network card is detected correctly.
>>>> I can go on internet via my modem everything is ok exept eth0

>>
>>
>> try `ifconfig eth0 up <address>'
>> where: <address> should be in the same network segment like
>> your windows box

> I type ifconfig eth0 up 169.254.52.43 netmask 255.255.0.0
> I now have an ip address with the same mask as the other windows 2000
> computer.
> I cannot ping the other computer.
> The yellow link led on the hub is on an both computer show correct link.


That is a dummy type address that Windows uses when it does not get an IP.
If neither your Linux nor Windows does DHCP than you should assign static
IPs to both machines in one of the normal private networks. For example
192.168.x.y addresses where x is same for both. If you use ifconfig
instead of network scripts, you might need to add a network route like:

/sbin/route add -net 192.168.x.0 dev eth0

Although, maybe Linux now automatically recognizes net routes based on IP
and netmask of interface (for example loopback route for lo interface is
not needed).

--
David Efflandt - All spam ignored http://www.de-srv.com/
Reply With Quote
  #9 (permalink)  
Old 04-11-2004
Clifford Kite
 
Posts: n/a
Default Re: Determining IP information for eth0 failed

David Efflandt <efflandt@xnet.com> wrote:

> Although, maybe Linux now automatically recognizes net routes based on IP
> and netmask of interface (for example loopback route for lo interface is
> not needed).


Weel, when an interface is brought up it sets a host route, except for
loopback, based on the old classful networking. In these days of CIDR
you may have to change that to an appropriate subnet.

--
Clifford Kite Email: "echo xvgr_yvahk-ccc@ri1.arg|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 11:04 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0