---
title: "traceroute and traceroute6 commands"
canonical: "https://docs.infoblox.com/space/netmri760/357369723/traceroute%20and%20traceroute6%20commands"
format: markdown
---
<span style="color: #000000">The</span><span style="color: #000000"> </span>`traceroute` and `traceroute6` <span style="color: #000000"> </span><span style="color: #000000">commands display information on the route IPv4 or IPv6 packets. You can use the commands to determine the path of an IPv4 or IPv6 query. The commands provide information on the path packets travel and the time it takes to reach the IPv4 or IPv6 destination address.</span>

# Syntax

The following is the command syntax:

`traceroute ``[options] <``hostname``|IPv4_``address>`

`traceroute6 [options] <``hostname``|IPv6_address>`

where:

- `hostname` is the name of the destination host to use in the traceroute attempt.
- `IPv4_address` is the IPv4 address of the destination host to use in the traceroute attempt.
- `IPv6_address` is the IPv6 address of the destination host to use in the traceroute attempt.

The `traceroute` and `traceroute6` commands are basic Linux commands. Depending on the system you are working in, the available options for these commands may vary.