Sub-net Mask

  • Sub-net mask is a 32-bit number that masks an IP address.
  • It divides IP address into network address and host address.
  • Sub-net mask is made by setting all network bits into ''1''s and host bits to ''0''s.
  • The practice of dividing a network into two or more networks is called sub-netting.
  • Sub-nets masks are also expressed in dot notation like and IP address.
  • Ex: 255.255.255.0 is a network mask for the IP address: 192.168.1.0/24.
  • Sub-net calculator is used to retrieve the information from IP address and sub-net mask.
 
  • Network address from the IP address and mask can be find out by AND operation.

Advantages:
  • It provides mask for the IP address which means security for the network.
  • It divides the single large network into multiple networks.
Notes:

Copyright @ 2016 Venkat's Blog.