Get TraceRoute via API

Description

Gets a list of hops to the destination via TraceRoute ICMP technique.

Overview

Gets a list of router hops between the current system and the target.

Arguments

Parameter Type Description
Target string The IP address or FQDN of the system to trace the route to.

Dependencies

  • None

Operating Systems

  • Windows
  • Linux
  • Mac

Example Output

dst_host     next_ip        previous_ip    interface
--------     -------        -----------    ---------
www.xkcd.com 192.168.1.1    192.168.1.101  Ethernet1
www.xkcd.com 10.200.75.1    192.168.1.1    Ethernet1
www.xkcd.com 10.0.0.1       10.200.75.1    Ethernet1
www.xkcd.com 10.101.48.1    10.0.0.1       Ethernet1
www.xkcd.com 100.127.4.38   10.101.48.1    Ethernet1
www.xkcd.com 100.120.102.22 100.127.4.38   Ethernet1
www.xkcd.com 68.1.4.252     100.120.102.22 Ethernet1
www.xkcd.com 0.0.0.0        68.1.4.252     Ethernet1
www.xkcd.com 151.101.64.67  0.0.0.0        Ethernet1
Scroll to Top