Skip to content

ICMP, Ping, and Traceroute

ICMP powers the most visible diagnostics: ping and traceroute. netverdict uses the same forwarding engine as data traffic, so diagnostic success or failure is tied to real route, ACL, NAT, and firewall state.

AreaLevelNotes
ICMP echoSupportedRequest/reply success and failure.
ICMP errorsSupportedTime exceeded and unreachable with type and code; errors quote the header plus 8 bytes.
PingSupportedDeterministic reachability command.
TracerouteSupportedUDP probes from port 33434, three per TTL, answered by time-exceeded and port-unreachable. IPv4 and IPv6 (traceroute <v6>, Hop Limit probes).
MPLS in tracerouteSupportedIOS traceroute prints [MPLS: Labels a/b Exp 0] on each hop that received the probe labelled (RFC 4950).
ICMPv6SupportedEcho, error codes, packet-too-big with the MTU.
Packet captureSupportedEchoes, errors and probes are on the wire in a capture (Packet Lens), decoded by Wireshark.
StandardCoverageNotes
RFC 792SupportedEcho, time exceeded, unreachable codes 0/1/3/4/13, fragmentation needed with the MTU.
RFC 4443SupportedEcho, error types and codes, packet too big.
FeatureStatusNotes
Echo request/replySupportedUses real topology reachability.
Source selectionSupportedInterface/source forms where parsed.
TTL expirySupportedUsed by traceroute.
ACL/firewall interactionSupportedDiagnostics can be denied by policy.
NAT interactionSupportedDiagnostic flows can be translated.
Extended ping optionsSupportedCount, size and don’t-fragment per vendor (IOS repeat/size/df-bit, Junos, NX-OS, Linux flags).
Where an echo stoppedSupportedA failed ping in the app names the box and the reason it was dropped (for example acl.deny) and draws the path the echo took, through switches too. diagnose ping <ip> explains a ping hop by hop, also at user EXEC, and names a switch that dropped it (port ACL, a trunk without the VLAN, storm control, port security).
Name targetsSupportedOn a host or wireless station, ping NAME / traceroute NAME resolve the name first. See DNS.
ICMP redirectNot modelledHosts here hold static routes.
CommandIOS-styleJunos-styleVyOS-styleNotes
ping 192.0.2.10SupportedSupportedSupportedICMP echo.
ping vrf BLUE 192.0.2.10SupportedSupportedSupportedSent from the box’s address in that VRF. Junos: routing-instance BLUE. VyOS: vrf BLUE after the address. traceroute vrf too.
traceroute 192.0.2.10SupportedSupportedSupportedHop walk.

Ping and traceroute are not fake CLI responses. They ask the forwarding model whether traffic can traverse the topology under the current state.

Canonical example
ping 192.0.2.10
traceroute 192.0.2.10
show ip route 192.0.2.10

Vendor styles

IOS-style
ping 192.0.2.10
traceroute 192.0.2.10
ping vrf BLUE 192.0.2.10
Junos-style
ping 192.0.2.10
traceroute 192.0.2.10
ping routing-instance BLUE 192.0.2.10
VyOS-style
ping 192.0.2.10
traceroute 192.0.2.10
ping 192.0.2.10 vrf BLUE

ICMP redirect, payload patterns, and Windows tracert’s ICMP echo probes are not modelled (a typed tracert runs the UDP traceroute). The RFC 4950 MPLS label stack is printed by traceroute but not carried in the captured ICMP bytes. Per-echo times are one millisecond per hop.