Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have the NetBIOS name of a remote computer, and I want to find its hostname (I'm in a LAN has a DNS server), or the IP address (I'll do a nslookup to find the hostname).

A Google search told me to do

nbtstat -a NETBIOS-NAME

This gives me this output (sorry for the french output)

C:\Users\Charles.CHBROSSO-WIN7VM>nbtstat -a LIGHTCT-PC2

Connexion au réseau local 3:
Adresse IP du noeud : [10.10.10.47] ID d'étendue : []

Table de noms NetBIOS des ordinateurs distants

   Nom                Type         État
---------------------------------------------
LIGHTCT-PC2    <00>  UNIQUE      Inscrit
WORKGROUP      <00>  Groupe      Inscrit
LIGHTCT-PC2    <20>  UNIQUE      Inscrit
WORKGROUP      <1E>  Groupe      Inscrit

Adresse MAC = B8-AC-6F-81-8A-26

The problem is that 10.10.10.47 is the IP address of the local computer (CHBROSSO-WIN7VM).

How can I find the IP address of the remote computer?

share|improve this question

1 Answer 1

If you can communicate/connect with it some how (Ping perhaps?), then nbtstat -c should show you the computer and it's resolved IP address.

EDIT:

Check out NBTScan.exe - a utility that will do a NetBIOS scan of your subnet and return the info including IP and MAC addresses:

NBTscan is a program for scanning IP networks for NetBIOS name information. It sends NetBIOS status query to each address in supplied range and lists received information in human readable form. For each responded host it lists IP address, NetBIOS computer name, logged-in user name and MAC address.

Hope that helps...

share|improve this answer
    
Thanks; it lists another PC that I believe to be the WINS server –  CharlesB Apr 26 '11 at 16:07
    
@CharlesB - Added a link to a utility for you to try out. :) –  Ƭᴇcʜιᴇ007 Apr 26 '11 at 16:44
    
thanks, Will try that tomorrow –  CharlesB Apr 26 '11 at 18:32
1  
Even if it does not exactly answer my question (scanning instead of querying), this tool is very helpful). Thanks! –  CharlesB Apr 28 '11 at 14:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.