SaveMyCert
IPv4 reference

/16 subnet mask (255.255.0.0)

A /16 is the subnet mask 255.255.0.0: 16 network bits and 16 host bits, giving 65,536 addresses and 65,534 usable hosts. Its wildcard mask is 0.0.255.255 and its block size is 256.

Subnet mask
255.255.0.0
Wildcard
0.0.255.255
Addresses
65,536
Usable hosts
65,534
Block size
256

The /16 mask in binary

The prefix is the number of 1 bits at the start of the mask. Ones mark the network part of an address, zeros the host part.

11111111.11111111.00000000.00000000

16 network bits, 16 host bits.

Every /16 in 10.0.0.0/8

A /8 holds 256 /16 subnets. The first eight and the last are listed; the rest follow the same step.

/16 subnets of 10.0.0.0/8
NetworkFirst hostLast hostBroadcast
10.0.0.0/1610.0.0.110.0.255.25410.0.255.255
10.1.0.0/1610.1.0.110.1.255.25410.1.255.255
10.2.0.0/1610.2.0.110.2.255.25410.2.255.255
10.3.0.0/1610.3.0.110.3.255.25410.3.255.255
10.4.0.0/1610.4.0.110.4.255.25410.4.255.255
10.5.0.0/1610.5.0.110.5.255.25410.5.255.255
10.6.0.0/1610.6.0.110.6.255.25410.6.255.255
10.7.0.0/1610.7.0.110.7.255.25410.7.255.255
10.255.0.0/1610.255.0.110.255.255.25410.255.255.255

Where a /16 is used

A /16 is the default mask of the old class B range (255.255.0.0) and the largest network you can give an AWS VPC, so it is the usual starting block for a cloud network that will be split into smaller subnets.

In an exam, a /16 usually appears as the network being divided, not as a subnet hosts live on: 65,534 hosts is far beyond what one broadcast domain should hold.

Usable addresses in a /16
WhereUsable addresses
Ordinary network65,534
AWS VPC subnet (5 reserved)65,531
Azure subnet (5 reserved)65,531

Worked example: 10.4.200.19/16

The block-size method, the way you would do it in an exam without a calculator.

  1. /16 means a mask of 255.255.0.0.
  2. The mask ends exactly on an octet boundary, so the third octet onwards is all host bits: zero it for the network, set it to 255 for the broadcast.
  3. Network address = 10.4.0.0; broadcast = the next block minus one = 10.4.255.255.
  4. Usable hosts run from the network plus one to the broadcast minus one: 10.4.0.1 to 10.4.255.254, which is 2^16 − 2 = 65,534 addresses.

Try another address in the subnet calculator, or practise without one on the subnetting practice questions.

/16 subnet mask: your questions

The subnet mask for /16 is 255.255.0.0. The prefix counts the 1 bits in the mask: 11111111.11111111.00000000.00000000 has 16 ones. The wildcard mask, used in Cisco ACLs and OSPF, is 0.0.255.255.

Other prefixes