Pasos para hacer ping en IPv4

Para hacer ping a un host o dirección basada en IPv4, use el comando ping.

[email protected]:~$ ping
Possible completions:
 <hostname> Send ICMP echo request to specified <hostname|IPv4 address>

Opciones de ping:

[email protected]:~$ ping -help
Usage: ping [-LRUbdfnqrvVaAD] [-c count] [-i interval] [-w deadline]
            [-p pattern] [-s packetsize] [-t ttl] [-I interface]
            [-M pmtudisc-hint] [-m mark] [-S sndbuf]
            [-T tstamp-options] [-Q tos] [hop1 ...] destination

Este es un ejemplo donde se hace ping a un nombre de host:

[email protected]:~$ ping
PING ( 56(84) bytes of data.
64 bytes from ( icmp_req=1 ttl=47 time=80.0 ms
64 bytes from ( icmp_req=2 ttl=47 time=79.7 ms
--- ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 79.770/79.917/80.065/0.318 ms

Pasos para hacer ping en IPv6

Para hacer ping a una dirección o nombre de host basado en IPv6, use el comando ping6.

[email protected]:~$ ping6
PING 56 data bytes
64 bytes from icmp_seq=1 ttl=55 time=27.3 ms
--- ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 27.317/27.317/27.317/0.000 ms

¿Ha quedado contestada tu pregunta?