...

/

Prerequisites of IP Subnetting

Prerequisites of IP Subnetting

Learn to use a network address to determine the usable IP addresses.

Network mask and usable IP addresses

IP subnetting is a technique used by network admins or designers which allows the allocation of a certain number of IP addresses for certain networks to accomplish a specific goal. Before we start with IP subnetting, we must first answer the following questions.

  1. How many IP addresses can we assign with a given mask? (for example, /24)
  2. What are the first and last IP addresses for a given network address?
  3. Which IP addresses from the network can be used?

Examples

Let’s take the 192.168.0.0/24 network and answer the 3 questions:

  1. The maximum number of IP addresses from a network mask of /24 is 256256 (3224=8, 28=256)(32 - 24 = 8,\space 2^8 = 256) ...