traceroute

Use the traceroute command to display a list of routers through which an IP packet passes on its way to a particular destination.

Anyone can issue the traceroute command.

Command Syntax

Enter the traceroute command as shown below.

traceroute ip_addr|name

Command Fields

Command Field

Description

ip_addr|name

Specifies either the IP address or the DNS name of the host to which you want a route traced.

Command Examples

Tracing a Route Using an IP Address

In this example, the traceroute command traces a route to a host using the specified IP address.

traceroute 199.150.150.74

Tracing a Route Using a Name

In this example, the traceroute command traces a route to a host using the host name poe.

traceroute poe