Traceroute
- This document covers the compilation, installation and configuration of the traceroute utility, which is used to return information about the routing of packets between source and target systems. Traceroute is a simple and popular network diagnosis tool. If you are looking for documentation on networking, a good place to start is the The Linux Documentation Project website.
- If you spot any major errors on this page, please e-mail me using the link above.
- It is assumed that this installation takes place on a computer on which Core Linux has been successfully installed.
- No software other than the packages bundled with Core Linux have been installed.
- As described in the installation guide, it is assumed that any downloaded application source code is stored in a directory called
/appson the CD-R. - It is assumed that the Core Linux computer is attached to a network on which there is at least one other machine with internet access and a CD burner.
Preparation
- Download the traceroute source code from ftp://ftp.ee.lbl.gov/.
- Burn the file
traceroute.tar.gzto a CD. This page assumes that the subdirectory/appsis used for the.tar.gzfile. The CD-ROM can be a multi-session disk.
Booting
- Boot your Core Linux PC.
- Login as
root. You will need to enter the password at the prompt.
Extract the source
- Place the CD-R in the CD-ROM drive. Mount the CD-ROM drive under
/mnt/cdrom. - Change to the
/appsdirectory on the CD-R. - Copy the
traceroute.tar.gzfile to the directory/usr/src. - Change to the
/usr/srcdirectory and extract the source from the.tar.gzfile.
Configure and compile
- Change to the
/usr/src/traceroute-1.4a12directory. - Change the value of the
MANDESTvariable in the fileMakefile.into/usr/man. - Run the
./configurescript. - Run the
makeprogram. - Add the user
binto the system. - Add the group
binto the system. - Run the
makeprogram with the argumentinstall. - Link the executable
tracerouteto the/usr/bindirectory. - Run the
makeprogram with the argumentinstall-man.
Testing traceroute
- At the system prompt enter:
where
traceroute www.domain.comwww.domain.comis the domain to which you want to trace the route.

The text of this page is licensed under a Creative Commons License.
