Networking Forums

Networking Forums > Computer Networking > Linux Networking > Determining IP information for eth0 failed

Reply
Thread Tools Display Modes

Determining IP information for eth0 failed

 
 
Pierre Forest
Guest
Posts: n/a

 
      04-10-2004, 02:33 PM
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
 
 
 
 
Joachim =?iso-8859-1?b?TcOmbGFuZCI=?=
Guest
Posts: n/a

 
      04-10-2004, 02:46 PM
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
 
mgrd
Guest
Posts: n/a

 
      04-10-2004, 04:00 PM
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
 
Pierre Forest
Guest
Posts: n/a

 
      04-10-2004, 07:00 PM
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
 
Pierre Forest
Guest
Posts: n/a

 
      04-10-2004, 07:07 PM
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
 
P Gentry
Guest
Posts: n/a

 
      04-10-2004, 08:25 PM
Pierre Forest <(E-Mail Removed)> wrote in message news:<CvSdnfrit9Q4mOXdRVn-(E-Mail Removed)>...
> 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
 
Antoine EMERIT
Guest
Posts: n/a

 
      04-10-2004, 08:28 PM
Pierre Forest <(E-Mail Removed)> wrote news:ao6dnbogCaya2-XdRVn-
(E-Mail Removed):
> 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
 
David Efflandt
Guest
Posts: n/a

 
      04-11-2004, 04:53 AM
On Sat, 10 Apr 2004 15:00:05 -0400, Pierre Forest <(E-Mail Removed)> 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
 
Clifford Kite
Guest
Posts: n/a

 
      04-11-2004, 01:21 PM
David Efflandt <(E-Mail Removed)> 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-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
 
Reply With Quote
 
 
 
Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Determining who operates which APs Gonzago Wireless Internet 3 03-22-2012 05:39 AM
Can't get eth0 up (wired) - e1000 device eth0 does not seem to be present, delaying initialization. OtisUsenet Linux Networking 2 06-06-2007 02:57 AM
gentoo linux eth0 detection failed subhas85@gmail.com Linux Networking 2 05-02-2005 06:41 AM
how tho change source address of eth0/eth0:1 ? news Linux Networking 2 06-09-2004 03:25 PM
Error message at startup: eth0 (DHCP) failed Oliver Meike Linux Networking 7 12-01-2003 07:02 PM



1 2 3 4 5 6 7 8 9 10 11