Ping
Ping is a network utility that is available on virtually all network enabled devices such as switches, routers, access points, mobile phones, PCs, tablets, firewalls, and others. Ping is primarily used to test the reachability of a host on an IP network. Ping uses ICMP packets, and sends out an ICMP echo request to the target host, and waits for an echo reply.
Ping tests reachability and also measures the round-trip time for messages sent from the originating host to a destination computer that are echoed back to the source. The following is an example of the output from a ping command on a Cisco IOS device:
R1#ping 192.168.12.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.12.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/2 ms R1#
The following is the output of a ping command issued on the command prompt of a Windows computer:
C:\Users\user>ping 8.8.8.8 Pinging 8.8.8.8 with 32 bytes of data: Reply from 8.8.8.8: bytes=32 time=182ms TTL=57 Reply from 8.8.8.8: bytes=32 time=264ms TTL=57 Reply from 8.8.8.8: bytes=32 time=187ms TTL=57 Reply from 8.8.8.8: bytes=32 time=172ms TTL=57 Ping statistics for 8.8.8.8: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 172ms, Maximum = 264ms, Average = 201ms C:\Users\user>
Links
https://networklessons.com/cisco/ccna-200-301/ping-troubleshooting-on-cisco-ios
Links to this page:
- ICMP - Mitigating Vulnerabilities
- ICMP - Vulnerabilities
- ICMP - response to a ping that is blocked by an ACL
- IP SLA - Route Flapping Problem
- IP SLA Parameters
- LISP debug traffic between two EIDs
- Multicast - ip igmp join-group vs ip igmp static-group
- Multicast ping on a Nexus device
- NAT - add-route keyword
- NHRP - Destination Protocol Address
- OSPF IP Unnumbered
- Ping - Specify ToS
- Ping - common reasons for failure
- Ping - debug commands
- Ping - extended feature
- Ping - possible ping responses
- Ping - specifying size
- Ping - sweep range of sizes
- Ping - troubleshooting concepts
- QoS - Jitter
- VRRP - Virtual IP doesn't respond to pings