Linux - NetworkingThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Before I start here is my current network setup: I have a router that sits between the net and the lan. Obvously the router is the lan's gateway to the internet.
I have been working on this annoying problem for over 20 hours now! Ouch. Anyway, all of a sudden one of my linux boxes (FC4) would not resolv any domain names. It would not even connect to the gateway (which is acting as the dns server). I tried on five other computers, all worked just fine. I tried to ping the router as well as other systems on lan, but no traffic was going though.
While trying to figure out the problem, I would all of a sudden be able to ping other systems. And, it would finally resolve dns names, with a HUGE delay, about 20 seconds or so. Then, it would go right back not being able to see anything.
Now, it is back to resolving domain names and connecting with the outside world and lan. But there is still about a 20 second delay before it gets out anywhere. If I ping a lan address, it has a delay and if I ping an outside source it has a 20 second delay. There is a 20 second delay for any type of TCP traffic to any destination.
The network card in the box is brand new. I tried swapping in another one, but same results.
Any idea's why there is such a long delay? Can someone point me in the right direction to figure out what is wrong?
I did check the router and it is fine. All other systems connect to other lan systems and the outside world instantly.
Can you post the contents of /etc/resolv.conf and /etc/nsswitch.conf? Let's make sure the machine has the right DNS servers set up and is configured to use them.
Another useful tool is to strace the ping process so we can know exactly what it is hanging up on during that 20 seconds.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.