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.
Support level
Section titled “Support level”| Area | Level | Notes |
|---|---|---|
| ICMP echo | Supported | Request/reply success and failure. |
| ICMP errors | Supported | Time exceeded and unreachable with type and code; errors quote the header plus 8 bytes. |
| Ping | Supported | Deterministic reachability command. |
| Traceroute | Supported | UDP probes from port 33434, three per TTL, answered by time-exceeded and port-unreachable. IPv4 and IPv6 (traceroute <v6>, Hop Limit probes). |
| MPLS in traceroute | Supported | IOS traceroute prints [MPLS: Labels a/b Exp 0] on each hop that received the probe labelled (RFC 4950). |
| ICMPv6 | Supported | Echo, error codes, packet-too-big with the MTU. |
| Packet capture | Supported | Echoes, errors and probes are on the wire in a capture (Packet Lens), decoded by Wireshark. |
Standards coverage
Section titled “Standards coverage”| Standard | Coverage | Notes |
|---|---|---|
| RFC 792 | Supported | Echo, time exceeded, unreachable codes 0/1/3/4/13, fragmentation needed with the MTU. |
| RFC 4443 | Supported | Echo, error types and codes, packet too big. |
Feature matrix
Section titled “Feature matrix”| Feature | Status | Notes |
|---|---|---|
| Echo request/reply | Supported | Uses real topology reachability. |
| Source selection | Supported | Interface/source forms where parsed. |
| TTL expiry | Supported | Used by traceroute. |
| ACL/firewall interaction | Supported | Diagnostics can be denied by policy. |
| NAT interaction | Supported | Diagnostic flows can be translated. |
| Extended ping options | Supported | Count, size and don’t-fragment per vendor (IOS repeat/size/df-bit, Junos, NX-OS, Linux flags). |
| Where an echo stopped | Supported | A 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 targets | Supported | On a host or wireless station, ping NAME / traceroute NAME resolve the name first. See DNS. |
| ICMP redirect | Not modelled | Hosts here hold static routes. |
Vendor command matrix
Section titled “Vendor command matrix”| Command | IOS-style | Junos-style | VyOS-style | Notes |
|---|---|---|---|---|
ping 192.0.2.10 | Supported | Supported | Supported | ICMP echo. |
ping vrf BLUE 192.0.2.10 | Supported | Supported | Supported | Sent 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.10 | Supported | Supported | Supported | Hop walk. |
Behaviour notes
Section titled “Behaviour notes”Ping and traceroute are not fake CLI responses. They ask the forwarding model whether traffic can traverse the topology under the current state.
Examples
Section titled “Examples”Canonical example
ping 192.0.2.10traceroute 192.0.2.10show ip route 192.0.2.10Vendor styles
IOS-style
ping 192.0.2.10traceroute 192.0.2.10ping vrf BLUE 192.0.2.10Junos-style
ping 192.0.2.10traceroute 192.0.2.10ping routing-instance BLUE 192.0.2.10VyOS-style
ping 192.0.2.10traceroute 192.0.2.10ping 192.0.2.10 vrf BLUETry it
Section titled “Try it”Known limits
Section titled “Known limits”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.