Enter your Email


BTOI | © copyight


Feb 8, 2009
Calculating The Number of Addresses Assigned to a Subnet

Most office and home networks use networks with 255 IP addresses or less in which the subnet mask starts with the numbers 255.255.255. This is not a pure networking text, so I'll not discuss larger networks because that can become complicated, but in cases where less than 255 IP addresses are required a few apply.

There are only seven possible values for the last octet of a subnet mask. These are 0, 192, 128, 224, 240, 248 and 252. You can calculate the number of IP addresses for each of these by subtracting the value from 256.

In many cases the subnet mask isn't referred to by the dotted decimal notation, but rather by the actual number of bits in the mask. So for example a mask of 255.255.255.0 may be called a /24 (slash 24) mask instead. A list of the most commonly used masks in the office or home environment is presented in Table .

 

Dotted Decimal Format

Slash Format

Available Addresses

255.255.255.0

/24

256

255.255.255.128

/25

128

255.255.255.192

/26

64

255.255.255.224

/27

32

255.255.255.240

/28

16

255.255.255.248

/29

8

255.255.255.252

/30

4

 

So for example, if you have a subnet mask of 255.255.255.192, then you have 64 IP addresses in your subnet (256 - 192)

0 Comments:

Post a Comment

<< Home