In: Computer Science
Furnish definitions and descriptions for:
▪ IP address and Subnet mask
1. IP Address , is a numerical label that is assigned to every device connected to internet for communicating over networks.
IP Address is a 32 bit address represented in 4 octets. of 8 bits each. IP Address identifies the network that the host is part of. When a host wants to communicate with another host, IP Address is used to identify the destination network
2. Subnet mask : Subnet mask is always used in conjunction with the IP Address. Subnet mask is a 32 bit number identifies the network address of the IP Address and Host portion of the IP Address. It contains sequence of 1's that tells the portion of the Network address in the original IP Address. Network portion of IP Address is obtained by performing AND operation between subnet mask and IP Address.Subnet mask can also be represented as /<No. of on bits>. Eg(/16)
Example :
10.198.14.74 is the IP Address
255.0.0.0 is the subnet mask.
This means, the first octet 10.0.0.0 is the network address
0.198.14.74 is the host address