Niall O Broin wrote:
>> I have two machines networked together, each running a reasonably standard
> install of RH5.2. Ping from A to B works just fine as you'd expect from 2
> machines on one 10M piece of RG-58 :-) However, I have a funny when I rsh from
> A to B - I have to wait a long time (minutes) before getting a prompt (both
> machines have appropriate .rhosts files for the relevant users). When I rsh
> from B to A I get the promt from A immediately. Both machines have specified
> as name servers machines which they can't reach when they're not connected to
> my provider, but each has no problem resolving the other's name - no delay when
> I ping for instance. They each also have a different search domain specified in
> resolv.conf (as one will eventually live elsewhere) but if name lookup is the
> source of the problem, why doesn't if affect ping ?
Perhaps it's _reverse_ DNS lookup that's causing problems.
Tcpwrappers might be trying to resolve the source of the
incoming connection.
Run tcpdump on the wire and see if any DNS traffic is being
generated.
Also try large pings to make sure it's not a cabling problem:
$ ping -s 1500 other-host.domain
Kenn
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!