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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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. |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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. |
|
|||
|
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- |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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/ |
|
|||
|
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/ |