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 03-30-2003, 06:06 PM   #1
dublin212
LQ Newbie
 
Registered: Mar 2003
Location: new york
Posts: 9

Rep: Reputation: 0
Question ping works, host works, ping host does not


I'm 97% towards getting networking to fly on this ibm t23 laptop with redhat 8, but something strange is failing.

ping to an ip address works
host to an ip name works (returns the ip address)
dig to an ip name works and properly reports the dns servers
ping to an ip name does not work

somehow the resolver is not using whatever host uses to resolve the address

other configuration data: wireless lan on eth1 (orinico card) talking to an orinoco residential gateway, connected to verizon dsl. eth0 is out of the picture.

Any thoughts?
Thanks much

dubliner in the big apple
 
Old 03-30-2003, 06:23 PM   #2
geno976
LQ Newbie
 
Registered: Mar 2003
Distribution: Slackware.. what else ?
Posts: 24

Rep: Reputation: 15
are you pinging/host'ing the fqdn (ping host.domain.com) or just the host (ping host) ? whichever way you're doing it, i'm assuming your doing the same way for both ping AND host/dig ..

does your /etc/resolv.conf have the 'search' line ? i.e

search domain.com
nameserver 65.65.65.65

if all looks ok so far i would suggest taking a packet trace (tcpdump or ethereal (gui)) to help narrow down where the prblm is..

-geno
 
Old 03-31-2003, 10:45 PM   #3
dublin212
LQ Newbie
 
Registered: Mar 2003
Location: new york
Posts: 9

Original Poster
Rep: Reputation: 0
yes, I am using the fqdn.
Thanks for the suggestion.

Getting closer. dig tells me the nameserver. I put that in /etc/resolv.conf
(without a search line) and all works fine ... for a few minutes. Then some process rewrites /etc/resolv.conf to have a bogus search line and a bogus nameserver line. How interesting.
(it's putting 10.0.1.1, the router, as the nameserver, but of course the nameserver lives on the other (public) side of the router)
 
Old 03-31-2003, 11:38 PM   #4
geno976
LQ Newbie
 
Registered: Mar 2003
Distribution: Slackware.. what else ?
Posts: 24

Rep: Reputation: 15
Quote:
Then some process rewrites /etc/resolv.conf to have a bogus search line and a bogus nameserver line.
most likely this is dhcp ... check to see if this host is dhcp enabled, and if so, check to see that the dhcp server is configured to supply the correct parameters (default gw, nameserver, etc) .. maybe your router/access point or whatever this box connects to is acting as the dhcp server for your network?

-geno
 
  


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
ping host unreachable czyang4 Linux - Networking 2 04-20-2005 02:58 PM
small network - can't ping by host, only IP jneider23 Linux - Networking 16 03-10-2005 08:40 PM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 09:10 AM
Unknown Host <Linuxmachinename> / Unable to ping by host name nishi_k_79 Linux - Networking 4 11-01-2003 01:24 PM
How can I ping my linux system by host? hydro Linux - Newbie 6 02-20-2003 03:48 AM

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

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