Troubleshooting Telnet

To determine why the banner displayed with Telnet identifies a different computer, even when specifying the correct IP address

  1. Make sure the DNS name and hosts table are up to date.
  2. Make sure that two computers on the same network are not mistakenly configured with the same IP address.

    The ethernet and IP address mapping is done by the ARP (address resolution protocol) module, which believes the first response it receives. Therefore, the impostor computer's reply sometimes comes back before the intended computer's reply.

    These problems are difficult to isolate and track down. Use the arp -g command to display the mappings in the ARP cache. If you know the ethernet address for the intended remote computer, you can easily determine whether the two match. If not, use arp -d to delete the entry, then use ping with the same address (forcing an ARP), and check the ethernet address in the cache again by using arp -g.

    Chances are that if both computers are on the same network, you will eventually get a different response. If not, you might have to filter the traffic from the impostor host to determine the owner or location of the system.