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
/2211111111111111111111110000000000network bitshost bits

How many usable host addresses H are there in an IPv4 subnet with prefix /22?

/22
H =
2.Easy
/2311111111111111111111111000000000network bitshost bits

How many usable host addresses H are there in an IPv4 subnet with prefix /23?

/23
H =
3.Medium
255.255.255.19211111111111111111111111111000000network bitshost bits

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

255.255.255.192
H =
4.Medium
/16 → /2011111111111111111111000000000000network bitshost bits

The network 172.24.0.0/16 is divided into equal subnets with prefix /20. How many subnets N are there?

172.24.0.0/16/20
N =
5.Hard

The network 192.168.214.0/24 is split with VLSM for these LANs: A: 6 hosts, B: 9 hosts, C: 49 hosts, D: 15 hosts, E: 13 hosts. Subnets are allocated from .0 upwards, the LAN with the most hosts first, each with the smallest subnet that fits. What is the fourth octet x of the network address of LAN D?

A: 6B: 9C: 49D: 15E: 13
x =
6.Hard
last octet = 168112806413201618040201networkhost

A host has the address 10.20.222.168/26. What is the last number (fourth octet) x of its subnet's broadcast address?

10.20.222.168/26
x =

Answer key

  1. 1. H = 1022
  2. 2. H = 510
  3. 3. H = 62
  4. 4. N = 16
  5. 5. x = 64
  6. 6. x = 191

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