The ping is used to send ICMP ECHO_REQUEST to the network hosts.
The PING stands for Packet Internet Groper. It is the best way to test the connectivity between two nodes. It may be a Local Area Network (LAN) or Wide Area Network (WAN), Ping works fine. Ping uses ICMP (Internet Control Message Protocol) to communicate to the other devices. You can use ping to the IP address of a hostname .
The ping uses ICMP protocol’s ECHO_REQUEST which is a mandatory datagram to elicit an ICMP ECHO_RESPONSE from a gateway or a host. The ECHO_REQUEST datagrams have an ICMP and IP and header, followed by a struct timeval and then arbitrary number of “pad” bytes that are used to fill out this packet.
To set SO_DEBUG socket option.
To Loose source route. This option is used in the IP header to send packet to given host and then back again. Usually specified with -R option.
Bypass normal routing tables and send directly to host on the attached network. If host is not on a directly-attached network then an error is returned.
Turn off the loopback of multicast packets.
The Verbose output. Lists any ICMP packets, other than the ECHO_RESPONSE, which are received.
Show the network addresses as numbers. The ping normally displays addresses as the host names
This is the Record route. It sets the IP record route option, which stores the route of packet inside IP header. The contents of record route will only be printed if -v option is given, and only be set on the return packets if target host preserves record route option across the echos, or even -l option is given.
This specifies the outgoing interface address to use for the multicast packets.
Specify the interval between successive transmissions. The default is one second.
Specify the IP time to live for unicast and multicast packets. The default time to live for unicast packets is set with ndd (using the icmp_def_ttl variable).
Latest posts by Unallocated Author (see all)
- Tips How To Recover Deleted Files on Windows PC Free and Easily - October 8, 2018
- iKeyMonitor Android Tracking App Review - September 4, 2018
- “Open Sesame” Vulnerability That Let Users Hack Windows 10 Was Demonstrated at Black Hat Conference - August 12, 2018