get computername
Hi, while using the ping -a <ip addr> command, it often does not come up with the computer name[ruleout: ip addr of routers].Please let me know the possible reasons why this happens. Thanks and Regards

Software/Hardware used:
ASKED: August 27, 2005  2:56 AM
UPDATED: August 27, 2005  9:09 AM

Answer Wiki:
The ping -a needs a source to get the name - either DNS or active directory (don't think ping can use broadcast to determine the name, although it may on Microsoft platforms). If you really need to know the device name of a WinTel box, try NBTSTAT -a [ipaddress]. It'll request information from the Windows stack, and give you machine name, domain, and (usually) the logged-on user as well. The USER part will fail if (a) user isn't logged on, or (b) the user is logged onto more than one machine.
Last Wiki Answer Submitted:  August 27, 2005  9:09 am  by  Snapper70   920 pts.
All Answer Wiki Contributors:  Snapper70   920 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

It depends on the locations of where the DNS is in availibilty to the intended computer. If a DNS near the intended computer is not configured to forward info of a certain range of addresses ytou’ll never know about it. If a computer does not have a gateway address and the DNS is outside of the LAN then again it is not seen. Finally ping -a is a udp command and with the advent of virues a lot of DNS’s are now configured to not allow ICMP protocols as well as the firewalls on SP2 of Windows XP systems. If you arew trying to locate some pcs get a scanning tool. Hope this helps.

 0 pts.