Problem Solving:Internet
Understanding
Traceroute
One of the most effective tools for hunting down problems on an errant network
is probably already installed on your machine. Traceroute can be useful to help
solve problems for you and your users.
By Clive Grace
B
andwidth hogging
games
(sometimes called media protocols) such
What Is Traceroute?
aside, network outages open up
as Ethernet that help shunt data along
a can of worms for network sup
specific routes intended for specific des
Traceroute started life as a simple
port, and knowing where (and how) to
tinations. Above TCP/IP lie protocols
command line diagnostic tool for local
look for network problems is often the
used by applications such as HTTP
area networks. Results are presented
first and best way to form a solution.
(HyperText Transport Protocol) for
as rows of information, with each line
One of the most commonly used
Web browsers, NNTP (Network News
showing a node the packet visited along
and freely available tools at your dis
Transport Protocol) for Usenet news
the way to its destination. Each node
posal is Traceroute, which uses
readers and SMTP (Simple Mail Trans
represents one set of choices (or hops)
TCP/IP to carry and return data relat
port Protocol) for the transport of Mail.
made by successive routers to deliver
ing to packets that describes how and
These protocols are managed by ap
data. Data might not always follow the
where data originates and (in some
plications your users are using.
same path, even to the same destina
cases) returns from.
Whether it's a Web browser, a server,
tion, and it is for this reason that Tracer
an email client, or even generic TCP/IP
oute is invaluable in hunting down slow
Protocols
support built into Windows 95 (such as
or non existent network connections.
application auto updaters), the proto
TCP/IP is the lingua franca of the
col exists so that each application
How It Works
Internet. It's the way the Internet en
group can exchange data with the cor
ables processes on different host com
responding servers using TCP/IP.
Traceroute's function is very sim
puters to communicate using a
When users send email messages or
ple. Although some PC packages make
connectionless
method
through
request a connection to a Web server,
very good use of the PC's graphical
which data is delivered from machine to
the message is broken into packets and
interfaces literally mapping the con
machine. Connectionless protocols send
transmitted. These packets travel
nection paths between nodes these
data down the line without first setting
along different paths depending on
implementations rarely vary dramati
up a connection (as opposed to connec
their type, whereupon the complete
cally from the Unix sources from
tion oriented protocols which establish a
message is rebuilt at its destination.
which they were built (in fact, there's a
connection before data is transmitted).
You can trace the route these pack
command line port of the Unix Tracer
Below TCP/IP sit various methods
ets take by using Traceroute.
oute supplied with Windows 95 called
TRACERT.EXE).
Traceroute uses ICMP (Internet
Microsoft(R) Windows 98
Control Message Protocol) to attempt
(C)Copyright Microsoft Corp 1981 1998.
to trace the path an IP packet takes as
C:\WINDOWS>tracert
it wends its way towards its intended
host by initiating UDP probe packets
Usage: tracert [ d] [ h maximum_hops] [ j host list] [ w timeout] target_name
with a TTL (Time To Live) which then
Options:
listens for an ICMP time exceeded
d Do not resolve addresses to hostnames.
reply from a gateway.
h maximum_hops Maximum number of hops to search for target.
Traceroutes start probing with a
j host list Loose source route along host list.
w timeout Wait timeout milliseconds for each reply.
TTL of 1, increasing it by 1 until it
receives an ICMP port unreachable
C:\WINDOWS>
error message which means Tracer
oute either got to the intended destina
tion (the host ), timed out, or hit a
Figure 1 Output from the Windows 9x Tracert command.
Issue 101 (November 1998) page 3
File: P1815.1
PC Network Advisor
Next page >
New! The best sites for quality inkjet printer cartridges and the best sites for cheap inkjet cartridges