Discussion Locked

ip address name resolution

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Is there a command that you can use that will resolve an IP address to the pc name that is using it? We have an address that replies when you ping it, but can't figure out the regular name. Also if you go to start, run, and enter \\ip addres\c$ weget an error saying that the network path was not found.

9 replies

by rabbit_runner

First of all, let me explain. The command you are entering will mainly work when connecting to a Windows NT computer. If the computer is a Windows 95 or 98 sytem, your command will not work. Next, if the computer is, indeed, a Windows Nt computer but your are still getting that error message, it is because the share c$ has been removed from the NT computer you are trying to connect.
Another possibility, do you have any network printers? Some network printer servers will have an IP address but not be available with a command to show what is being shared.
Now to answer your question. There is no, system utility that will accomplish what you are wanting. You will need to get a third party utility to do what you want. Search the internetfor one. There are several. Surely you can find one that is free, or is shareware for 30 days. This will allow you to resolve your problem.
If I can be of further assistance, please feel free to contact me.

by curlergirl

You can use ping with the -a switch:

ping -a [ip address]

returns a first line showing the name of the machine owning that IP address, if it exists, and then shows the normal ping results. This works on any Windows machine (9x, NT or 2K). Hope this helps!

by chrisamcp

There are several utilities that allow you to resolve ip address to name (kinda in reverse).

You can try the following. If it is a PC and you believe there is a netbios name for it...(in WINS)
nbtstat -A 192.168.0.1
nbtstat -a COMPUTERNAME

If you think the name/ip is addressed locally or remotely via DNS name resolution

nslookup www.microsoft.com
nslookup 192.168.0.1

If you still cannot resolve the ip to a name..it maybe a switch, router, windows ce device, non-wins client, non-dns client.

Use a utility that will require some configuration but let you know most likely what the device is. A port scanner works well. A very powerful port scanner is...

NMAP - now ported over to NT and 2000

http://www.eeye.com/html/Research/Tools/nmapNT.html

Give those a shot.

Nmap will allow you to determine a device such as a Cisco Router and even the OS version it's running.

As with all port scanning software, make sure you are not scanning public companies other thanyour own.

Chris Arsenault
Network Administrator
Houston, TX

chrisamcp@hotmail.com

by malik_ajay

There are two ways for resolving the host name -

1. ping -a ipaddress
2. nbtstat -A ipaddress

Also, you are saying that you are not able to access its C drive, there may be many reasons for it -

1. Default sharing is removed.
2. The ip you are pinging is not of any machine, it may be of router,switch,XLR,network printer.
3. Also,it may be a broadcast IP (255).

This discussion is closed to new replies.