Telnet or rsh takes too much time

telnet or rsh or ftp to an AIX machine takes too much time, like have to wait 3 minutes before the prompt appears.

What can I look to troubleshoot this problem

thanks

Check for DNS resolving issues and check if there is a performance problem on the box you come from or where you go as destination. Maybe also check if there is a network problem with something like traceroute .

traceroute

C:\>tracert 10.1.1.100

Tracing route to 10.1.1.100 over a maximum of 30 hops

  1    13 ms    <1 ms    <1 ms  10.1.1.101

Trace complete.

how can I check for network problem or performance issue on the box where i want to telnet to ?

thanks

As Zaxxon says, the first thing to check is the DNS service. The delay could be all caused by a very slow resolution process.

What happens if instead of

telnet <nodename>

you enter

 
telnet <ip address>

Do you still see the delay?

Otherwise, can you introduce a third system into this and see if you can tell which node is causing the problem?

Also, just noticed you are using 10.1.1.* ip addresses. Are you sure that your network knows that these ip's are local and not out in the big wide world?

telnet <nodename>



 
telnet <ip address>

Both give delay of more than 3 minutes for the login , but another machine on the same network works fine IP and nodename.

How can I isolate the problem to DNS or server-performance-issue ?

DNS is windows DNS Server..

POST-SCRIPT: ISSUE SOLVED

Deleted the file /etc/resolv.conf
the file had an entry

and removed name-server and stopped nameserver from smitty tcpip

Issue resolved.

as Zaxxon said, the first issue to look for should be DNS.