1833582 Members
3676 Online
110061 Solutions
New Discussion

question about telnet

 
Wang,MinJie
Super Advisor

question about telnet

Hey everyone,
I've got two system connecting to the same lan
and it takes me different time to telnet to the the two systems.
One is very quick and the other is very slow.
So I think the network is good.
But why can't I telnet the system quickly.
How can i diagnose it
Thanks in advance
10 REPLIES 10
Borislav Perkov
Respected Contributor

Re: question about telnet

Hi,
If you have not same problems after connecting
it look like DNS problem. Check the DNS server records for the server where connecting is slower.
Regards,
Steven E. Protter
Exalted Contributor

Re: question about telnet

Shalom Wang,

try telnet using numeric ip addresses.

If its faster than by hostname, its DNS. If its the same as by hostname, then its probably a networking or system load issue.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Wang,MinJie
Super Advisor

Re: question about telnet

I'm sorry to say that we haven't DNS server
and I always telnet it by ip address and I got a new thing:when I use these two systems based on hp-ux to telnet each other,it takes no time!
Can you have some new idea?
Borislav Perkov
Respected Contributor

Re: question about telnet

Try with ping command and look for delays for both servers from the one you connecting to see if you have network problem.
Chan 007
Honored Contributor

Re: question about telnet

Hi,

Can you tell more about from where you are trying to telnet. I understand that you are trying to telnet from your desktop.

But when you tried from Server1 to Server2 it does very fast. But when you tried from your desktop it os slow to one system.

Why not add the ip address to your host file to your desktop & try to telnet via name.

Also provide more information

Chan
Wang,MinJie
Super Advisor

Re: question about telnet

Hey 007 u r right

I'm trying to telnet from desktop to b2000 workstation and it's very slow while I can quickly telnet from desktop to an L1000 server.
Their network enviroment is almost same(even I change their lan cable and no effect)
and they can telnet each other quickly
Ninad_1
Honored Contributor

Re: question about telnet

Hi,

From your desktop
what is the result of
ping -n 50 server1
ping -n 50 server2

Is there any packet loss in ping ?
Are the servers and your desktop on the same subnet ?

Regards,
Ninad
Greg Vaidman
Respected Contributor

Re: question about telnet

If not a DNS issue, and both systems are on the same subnet, then most likely it's a routing or subnet mask issue. Check for differences in the output of "netstat -rnv" on each system. Post them here if you still need help...
Mark Ellzey
Valued Contributor

Re: question about telnet

Hello,

You may want to check your switch ports. In particular, check that the speed and duplex on the port matches that of the 2 machines.

Regards,
Mark
Hunan_1
Frequent Advisor

Re: question about telnet

Hi Wang,

I had once the same problem.
I had to make some changes to /etc/hosts and routing tables to make it work well.

Plz send response to "netstat -rn" and /etc/hosts to check.