/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.
| Network | First host | Last host | Broadcast |
|---|---|---|---|
| 10.0.0.0/16 | 10.0.0.1 | 10.0.255.254 | 10.0.255.255 |
| 10.1.0.0/16 | 10.1.0.1 | 10.1.255.254 | 10.1.255.255 |
| 10.2.0.0/16 | 10.2.0.1 | 10.2.255.254 | 10.2.255.255 |
| 10.3.0.0/16 | 10.3.0.1 | 10.3.255.254 | 10.3.255.255 |
| 10.4.0.0/16 | 10.4.0.1 | 10.4.255.254 | 10.4.255.255 |
| 10.5.0.0/16 | 10.5.0.1 | 10.5.255.254 | 10.5.255.255 |
| 10.6.0.0/16 | 10.6.0.1 | 10.6.255.254 | 10.6.255.255 |
| 10.7.0.0/16 | 10.7.0.1 | 10.7.255.254 | 10.7.255.255 |
| 10.255.0.0/16 | 10.255.0.1 | 10.255.255.254 | 10.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.
| Where | Usable addresses |
|---|---|
| Ordinary network | 65,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.
- /16 means a mask of 255.255.0.0.
- 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.
- Network address = 10.4.0.0; broadcast = the next block minus one = 10.4.255.255.
- 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.