How Does Data Know Where To Go ?

       IP Address

Mostly every devices have Internet Protocol (IP) Address
an example of IPv4 address is 192.168.1.1
There are actually 4 octats in an IP address, one octats is 8 bits, so an IP address is actually 32 bits.
Every IP address is broken down into two parts by subnet mask
they are Network ID and Host ID

Network ID → 192.168.1
It acts just like our street, city , state name 

Host ID → 1
It acts just like our house number


Subnet Mask


Subnet mask is a group of four numbers that defines a computers network
All 255's in a subnet mask collectively refers to the network portion and where as the 0's refers to the host porton

Comments