Monday, May 2, 2011

Finding the machine/system name with IP address

Welcome back, 
The information which i am updating at this moment, what i am learning in my day to day tasks.
Some of the things seem to be basics and known to all, but rewinding basics is not a bad thought, Is isn't?That's Good. 

Before going to my actual content for the day, thought to tell some thing. Some times motivation can come from surroundings, people, movies, videos...etc. But my actual inspiration to start my blog came from two sources one is   'abhijit jana'  , a .net specialist and the author of his own life and owner of great .net technical blog http://abhijitjana.net/ .  When ever i do browsing definitely i open this blog. The way he explains and works at article narration simply awesome. Luckily i met him when i was working in Noida he was my fellow team member for another project.  Now i suppose he is with Microsoft.

Second person is my technical manager who is  'thirst for knowledge', in this position and time also  i was wondering about him and the dedication he is having.  He knows in and out of all. By seeing all these kind of people i really wanted to do improve my self (Hope, some body may write my name in their articles as i am their inspiration,  Just kidding).

Let come to today's information, I would like to share one general DOS command to know the machine/system name with IP address.

Command :   
 nbtstat -a <IP Address>

Eg:    nbtstat -a 1.2.3.4
Sample out will be as follows,

VMware Network Adapter VMnet8:
Node IpAddress: [1.2.3.4] Scope Id:
VMware Network Adapter VMnet1:
Node IpAddress: [1.2.3.4] Scope Id: 

    NetBIOS Remote Machine Name Tabl

       Name               Type         Stat
    ---------------------------------------
    RAVI-PC        <20>  UNIQUE      Regist
    RAVI-PC        <00>  UNIQUE      Regist
    WORKGROUP      <00>  GROUP       Regist
    WORKGROUP      <1E>  GROUP       Regist

    MAC Address = < >

Wireless Network Connection:
Node Ip Address: [ ] Scope Id: []
Actually in one of my application which i am working wanted to know the machine name with the help of IP address for some particular configuration setting. It helped me to find out.  Hope it may helpful to some one.

Have  fun..

Thanks & Regards,
Ravikiran

1 comment: