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
fourth octet of /30112816413211618140201oneszeros

Write the subnet mask of a /30 network in dotted-decimal notation. What is the value x of its fourth octet?

/30
x =
2.Easy
/2311111111111111111111111000000000network bitshost bits

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

/23
H =
3.Medium
/22 → /2811111111111111111111111111110000network bitshost bits

The network 10.236.44.0/22 is divided into equal subnets with prefix /28. How many subnets N are there?

10.236.44.0/22/28
N =
4.Medium
255.255.255.25211111111111111111111111111111100network bitshost bits

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

255.255.255.252
H =
5.Hard
last octet = 141112806403201618140211networkhost

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

10.20.167.141/29
x =
6.Hard
third octet 216 … 221112816403211618040201commonvaries

A router has routes to these networks: 10.124.216.0/24, 10.124.217.0/24, 10.124.218.0/24, 10.124.219.0/24, 10.124.220.0/24, 10.124.221.0/24. What is the longest prefix length p of a single summary route that covers all of them?

10.124.216.0/24 … 10.124.221.0/24
p =

Answer key

  1. 1. x = 252
  2. 2. H = 510
  3. 3. N = 64
  4. 4. H = 2
  5. 5. x = 136
  6. 6. p = 21

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