By Stephen Bucaro
TCP/IP comes with a set of command line utilities that a network technician can
use to manage and troubleshoot a network.
PING (Packet Internet Groper)
PING is used to test the ability of two hosts on a network to communicate. To
test the connection, type in PING followed by the name or IP address of the other
host. If the host can be reached, PING will report the time required to receive a
reply from the host. If the host cannot be reached, PING will provide a report
containing some information that may indicate the cause of the problem.
Windows computers will transmit four PING messages. If the host cannot be reached,
some operating systems will continue to send packets until to cancel the PING
command by pressing the Control-C key combination.
TRACERT (Trace Route)
TRACERT is used to trace the route between two hosts on a network. To trace a
route, type in TRACERT followed by the name or IP address of the other host. TRACERT
will list each router it encountered along the path between a computer and the
destination host. It also reports the number of hops between a computer and
NBTSTAT (NetBIOS Test Status)
NBTSTAT is used to troubleshoot NetBIOS names when you're working with NetBIOS
over TCP/IP. The NetBIOS name cache lists the NetBIOS names and related IP
addresses. If your LMHOSTS file has entries with the #PRE tag, these entries are
preloaded into the NetBIOS cache, NetBIOS names and related IP addresses can also be
supplied by the WINS server. The NBTSTAT command can be used to display or correct
entries in the NetBIOS name cache.
NBTSTAT [-a RemoteName] [-A IP address] [-c] [-n] [-r] [-R] [S] [interval]
RemoteName - Remote host machine name.
IP address - Dotted decimal representation of the IP address.
interval - Redisplays selected statistics, pausing interval seconds between each
display. Press Ctrl-C to stop redisplaying statistics.
||Lists the remote machine's name table given its name
||Lists the remote machine's name table given its IP address
||Lists the remote name cache including the IP addresses
||Lists local NetBIOS names
||Lists names resolved by broadcast and via WINS
||Purges and reloads the remote cache name table
||Lists sessions table with the destination IP addresses
||Lists sessions table converting destination TP addresses to host names via
the hosts file