Ping, Traceroute, and subnet mask


The Ping command is used to find whether the host is alive or not.



In order to wait for 2 seconds and then send packets use:

ping -i 2

If you want to send a specific number of packets then use the command

ping -c 5

If you want to ping the private IP of class A then use:

ping 10.*.*.*


Traces the path from your computer to the destination computer.



Subnet Mask:

Dividing a large network into small sub-networks is called subnetting. The subnet mask is masking bits to define the network and host parts.

The subnet mask helps you to organize different networks neatly.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store