TCP/IP Utilities


Table of Contents

  1. ARP
  2. Nbtstat
  3. Netstat
  4. Ping
  5. Route
  6. Tracert
  7. Winipcfg

Arp

ARP stand for Address Resolution Protocol. This provides IP to Ethernet addresses. Each hardware card has an address coded in. This allows deletion and addition to the ARP cache.

The switches to be used can be obtained by just typing arp at a DOS command prompt.

Some more ARP information

Back to Top

Nbtstat

This is a very useful little tools if networked and/or using Win servers or Lmhost file. It displays TCP/IP connections using netbios.  The switches to be used will be shown if typing nbtstat from the command prompt.

Here is an interesting little example of how it may be used:

If you and your friend have WIN servers <the same or some that share> inserted in your network or connection setup and have log onto network checked then the Wins server will register you when you log on.  If the other person's computer name is Alpha then typing Nbtstat -a Alpha will provide that computers IP address. 

Nbtstat may also use the lmhost file.  Typing nbtstat from the command prompt will provide a set of switches.

Nbtstat - WINS - LMhost is oriented towards relating Computer Names (netbios names) to IP addresses and is very useful on any network were IP addresses are dynamic. The Computer name must be unique.

Some more nbtstat information

Back to Top

Netstat

This utility provides the connection both the local and remote, ports and the state of the connection. It has several switches which maybe found by typing netstat /? from the command prompt.

It provides the IP addresses and the ports of the remote computer(S) to which the socket is connected. If a port has not been established it is indicated by a *.

It shows the the port numbers as well as IP address for the local computer.

It provides the type of protocol being used for the connection(s).

It provides a status of the connection. Is it established ?? is it closed ?? or is it waiting ?? and more.

Some more netstat information

Back to Top

Ping

This is a simple diagnostic tool to verify connection and also used quite frequently as a troubleshooting tools. The available switches can be obtained by typing ping from command prompt.

If Name resolution fails, meaning your connection doesn't seem to work properly; then ping may be used as follows to try to identify the problems:

Ping 127.0.01   That is yourself and will indicate that the networking on your computer works.

Ping  a known address like ping 207.159.136.230. That is my web site here. If it works then you have a good Internet connection.

Try next ping www.hildrum.com if it does work everything is fine. If it does not you may have name server <DNS> problems. There are also Winsock duplications and problems which might cause this to happen.

Some Ping Examples

Back to Top

Route

Type Route at the command prompt to see the options (switches).

This command is very useful if using networking. It allows you to view and manipulate the routing tables. It is a very useful tool for diagnosing and modifying networking routing issues

Some more information and examples

Back to Top

Tracert

This is a utility which allows you to see the route taken by packages from yourself to a destination. It also show the time it takes. It can also be used to determined the IP address of a service were you only know the name.

Some more info

Back to Top

Winipcfg

A very useful little utility. Use Start ---->Run and type in winipcfg. It will tell you your present IP address and your subnet mask. If you click "more info" it will also provide the DNS (Domain names servers) and WINS servers if you have any.

More info on winipcfg

Back to Top

Copyrighted All rights reserved
Last revised: December 19, 1999
.