Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-30-2003, 06:06 PM
|
#1
|
|
LQ Newbie
Registered: Mar 2003
Location: new york
Posts: 9
Rep:
|
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
|
|
|
|
03-30-2003, 06:23 PM
|
#2
|
|
LQ Newbie
Registered: Mar 2003
Distribution: Slackware.. what else ?
Posts: 24
Rep:
|
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
|
|
|
|
03-31-2003, 10:45 PM
|
#3
|
|
LQ Newbie
Registered: Mar 2003
Location: new york
Posts: 9
Original Poster
Rep:
|
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)
|
|
|
|
03-31-2003, 11:38 PM
|
#4
|
|
LQ Newbie
Registered: Mar 2003
Distribution: Slackware.. what else ?
Posts: 24
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:59 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|