Examples of Ping Command
Ping command is used to check the network status between two nodes. Developed by : Mike Muss Abbreviation : Packet INternet Grouper How it Works : Ping works by sending an ICMP Echo Request(Type 8) packet to the other node specifying that Iam Alive and asking about his status,if the other node receives the packet he will reply with an ICMP Echo Reply(Type 0) packet telling the node he is also Alive. With this ICMP messages Ping gives us the time that takes to reach and get back the reply from a node(round trip time). Syntax : ping <ip_address> Example : ping 192.168.1.5 We will see different examples in which we can use ping 1.Setting the Interval: By default ping sends an Echo Request for every one second. If you want to change the interval you can do it by specifying with 'i' option. If you want to have anything beyond 200 ms you have to be in root permissions Suppose if we want to send an ICMP Echo Request every 500 ms then we h