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.
Hi all. Here's my weird problem. I have 4 machines on the same hub: a,b,c,d. A,b,c are HP proliant and d is an ibm box. Telneting between abc is fine and from abc to d is fine also. However, telnetting from d to ab takes an extremely long time, it hangs for about 15 secs until you get the banner. From d to c its ok, though! (abc are all built identically)
D->ab is problematic with ssh, ftp and our custom written app that uses tcp. ssh and ftp eventually recover and present with a login prompt but our custom written app dies.
Any ideas about where to start troubleshooting this? I did tcpdump port 23 on {a,b} and i see the initial handshake happening and then more stuff but nothing that points to anything.
ABC machines run RH AS 2.1. D runs RH 7.3.
iptables are disabled everywhere, there's nothing in /var/log/messages. I tried upgrading from tg3 driver to bcm5700 but the problem still persists. In fact, I tried hooking up a laptop directly with a crossover to machine A and still the problem is there. So, its not the hub or the cable.
As a quick guess, I would look at your DNS configuration. Are you using any other name services (NIS, LDAP)? Do all the machines have a reverse lookup? Try doing a dump and look at the DNS traffic.
well, nsswitch.conf reads files dns nisplus. Are you saying take dns/nisplus out? but ALL machines have that, including the one that works. In tcpdump i can see some weird arp requests going out. Could ARP be the problem? How??
there's no dns server and no NIS. I'll try the commands and let you know.
as for ARP: i see who has... tell nn.nn.nn.nn something but no reply but thats for a some other IP altogether. I've no idea why it wants to know that during telnet.
I would take out the dns entry in nsswitch.conf only if you are not ever going to use dns on these machines, i.e. no internet. (If you do, make note of it in /etc/resolv.conf so you can fix it later)
Verify that /etc/hosts has both the canonical and short names for every host ( 10.0.0.1 hostname.domainname hostname ).
Verify that /etc/hosts is the same on all the boxes.
Make sure files is the first entry for nsswitch.conf.
Do any of the machines have a DNS server in /etc/resolv.conf?
You may want to look at the inetd configuration for telnet. It probably uses tcpd. I'm not positive, but it may be trying to issue a DNS request. Perhaps to a non existant machine? Maybe this is the ARP request.
I'm still guessing, but in my experience, most timeouts on a local network happen because of DNS.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.