IPv4 subnetting worksheet with answers

Free printable IPv4 subnetting worksheet: 6 problems from easy to exam level, with an answer key. Print it or save it as a PDF.

For teachers: free to print, copy and use in class. Every new worksheet has new values and its own answer key. A link to ExamProblems on your course page is appreciated.

Name: ____________________   Date: ____________

1.Easy
255.255.254.011111111111111111111111000000000network bitshost bits

A subnet has the mask 255.255.254.0. What is its prefix length p?

255.255.254.0
p =
2.Easy
255.255.248.011111111111111111111100000000000network bitshost bits

A subnet has the mask 255.255.248.0. What is its prefix length p?

255.255.248.0
p =
3.Medium
255.255.254.011111111111111111111111000000000network bitshost bits

A subnet uses the mask 255.255.254.0. How many usable host addresses H does it have?

255.255.254.0
H =
4.Medium
/24 → /2611111111111111111111111111000000network bitshost bits

The network 10.98.144.0/24 is divided into equal subnets with prefix /26. How many subnets N are there?

10.98.144.0/24/26
N =
5.Hard
third octet = 65012816403201608040211networkhost

A host has the address 172.20.65.29/22. What is the third octet x of its subnet's broadcast address?

172.20.65.29/22
x =
6.Hard
last octet = 70012816403201608141201networkhost

A host has the address 10.20.1.70/26. What is the fourth octet x of its network address?

10.20.1.70/26
x =

Answer key

  1. 1. p = 23
  2. 2. p = 21
  3. 3. H = 510
  4. 4. N = 4
  5. 5. x = 67
  6. 6. x = 64

Full step-by-step solutions: practise this topic on examproblems.com.