Skip to main content

Using nbtstat to Find a Computer Name

Have you ever wanted to know what computer belongs to what IP address?

This information can come in very handy when trying to troubleshoot network issues or see if there are devices on your network that don't belong there.

Just knowing the IP address of a device on your network may not be enough information to figure out what you need to know.

Sure you can ping an IP address but that only tells you if there is connectivity.

Sometimes you can use the -a switch with the ping command and see if you get lucky and it resolves the IP address to a name.

Another command line utility you can use to help you in your quest for finding the computer name associated with an IP address is the DOS command nbtstat to find NetBIOS computer names if you use NetBIOS on your network.

Just open a command prompt by going to Start, Run then type in cmd and click OK. Here are the available switches you can use with the nbtstat command.

The one you want to use to find the host name associated with the IP address is nbtstat –a followed by the IP address. In the following example you can see 192.168.1.2 is the IP address, Jim is the computer name and WORKGROUP is the workgroup name.
_________________________

Comments

Popular posts from this blog

What is Port (computer networking)

In the internet protocol suite, a port is an endpoint of communication in an operating system. While the term is also used for female connectors on hardware devices (see computer port), in software it is a logical construct that identifies a specific process or a type of network service. A port is always associated with an IP address of a host and the protocol type of the communication, and thus completes the destination or origination network address of a communication session. A port is identified for each address and protocol by a 16-bit number, commonly known as the port number. For example, an address may be 'protocol: TCP, IP address: 1.2.3.4, port number: 80', which may be written 1.2.3.4:80 when the protocol is known from context. Specific port numbers are often used to identify specific services. _________________________

What is a localhost ?

In computer networking, localhost is a hostname that means this computer. It is used to access the network services that are running on the host via its loopback network interface. Using the loopback interface bypasses any local network interface hardware. The local loopback mechanism is useful for testing software during development, independently of any networking configurations. For example, if a computer has been configured to provide a website, directing a locally running web browser to http://localhost may display its home page. On most computer systems, localhost resolves to the IP address 127.0.0.1, which is the most commonly used IPv4 loopback address, and to the IPv6 loopback address. _________________________

What is Back Door?

A back door is generally a piece of code intentionally left by the developer of the software or firmware that allows access without going through the normal security process. Back doors may also be the result of different malware/virus attacks that leave a method for remote, unsecured access into a device once the malicious code has been executed. _________________________