LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-04-2003, 10:49 AM   #1
MontanaD
LQ Newbie
 
Registered: Mar 2003
Distribution: Red Hat
Posts: 4

Rep: Reputation: 0
IP Problems


I'm brand new to Linux. I built my first Linux box w/RH 8.0 this week, and I'm having difficulties with the IP stack. DHCP does not seem to work, and assigning a static address gets me nothing either. I've checked the module for the NIC and it seems to be ok. I can ping the box itself when assigned statically, but when I ping anything else, I get "destination unreachable." I've checked and double checked address, sm, and gateway to no avail. Anybody have any suggestions? Thanks for the help.
 
Old 04-04-2003, 11:29 AM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
Re: IP Problems

'DHCP does not seem to work'
where? at your linux box or ISP? if you mean your linux box - you can check if it is running typing 'ps -A'

'I can ping the box itself when assigned statically'
which way? using numeric ip address or dns name?

'I get "destination unreachable."'
if you try to ping with command like 'ping 1.2.3.4' (numerical ip) the reason is probably improper gateway definition (check it using 'route') but if you try ping using the host name check /etc/resolv.conf file - shoud have a 'nameserver x.x.x.x' definition , where x.x.x.x is numerical ip of DNS server
 
Old 04-04-2003, 12:31 PM   #3
MontanaD
LQ Newbie
 
Registered: Mar 2003
Distribution: Red Hat
Posts: 4

Original Poster
Rep: Reputation: 0
The Linux client will not obtain an IP address from my DHCP server.

I can ping the Linux box (from itself) by both address and hostname.

As I watch the loader, it claims that no link is present and to check the cable, however I've verified that this cable is good. As a result, I have to bring up the interface manually.

I've discovered however, that if I bring the interface up manually and the use dhclient, it will obtain and address.

Any ideas?

Thanks.
 
Old 04-04-2003, 01:03 PM   #4
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
Well, I do not know what to do. The only case I met the information about link state was concerned with tulip card. But I've replaced this card with Realtek (a lot of troubles) so I can up my eth at any moment with or without phisical connection to the network. I really do not understand the idea of NIC drivers which take care about 'live' link at the moment of upping the interface.
So, sorry. Maybe somebody elso recognise the problem. Hope, after manual dhclient run everything works correctly (?).
 
Old 04-04-2003, 01:13 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
A quick workaround may be to create a script to initiate the device at the end of the boot rather than in the middle.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ethernet Adsl Modem Driver Problems And Install Problems... akhilnair Linux - Hardware 12 11-28-2004 08:19 AM
cisco 350 wireless problems and suse x-server problems incognito9 Linux - Wireless Networking 5 10-14-2004 07:53 AM
Problems with OSS while trying to avoid problems in ALSA (scratchy sound) GT_Onizuka Linux - General 1 02-05-2004 11:55 PM
Problems, problems, problems. Lets start with the soundcard Kre8ive Linux - Newbie 5 08-07-2003 01:20 AM
Problems, problems, problems. Lets start with the ES 1868 AudioDrive Kre8ive Linux - Newbie 1 08-06-2003 07:04 PM

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

All times are GMT -5. The time now is 03:49 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