ping
Windows CMD · Network · available in the simulator
What it does
Tests connectivity using ICMP.
Syntax
ping [-t] [-a] [-n número] [-l tamaño] destino
Options and parameters
-tPings the target host continuously until stopped by pressing Ctrl+C.
-aResolves the address to a hostname.
-nNumber of echo requests to send.
ping -n 4 example.com-lSend buffer size in bytes.
-fSets the Don't Fragment flag on packets, IPv4 only.
-iTTL value.
-wWait time in milliseconds for each reply.
-SSource address to use.
-4Forces the use of IPv4.
-6Forces the use of IPv6.
Usage examples
ping 8.8.8.8ping -n 4 example.com
Notes and common mistakes
- Unlike Linux ping, options use a hyphen and not a slash.