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

An access list must match the network 172.16.0.0/18. Access lists use a wildcard mask, the inverse of the subnet mask. What is the third octet x of the wildcard mask?

/18
x =
2.Easy
/2211111111111111111111110000000000network bitshost bits

An access list must match the network 172.16.0.0/22. Access lists use a wildcard mask, the inverse of the subnet mask. What is the third octet x of the wildcard mask?

/22
x =
3.Medium
/22 → /2711111111111111111111111111100000network bitshost bits

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

10.146.252.0/22/27
N =
4.Medium
/24 → /2711111111111111111111111111100000network bitshost bits

The network 192.168.10.0/24 must be divided into at least 8 equal subnets. If you borrow as few bits as possible, how many usable hosts H does each subnet have?

192.168.10.0/248 subnets
H =
5.Hard
third octet 158 … 159112806403211618141201commonvaries

A router has routes to these networks: 10.47.158.0/24, 10.47.159.0/24. What is the longest prefix length p of a single summary route that covers all of them?

10.47.158.0/24 … 10.47.159.0/24
p =
6.Hard
third octet = 62012806413211618141201networkhost

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

172.20.62.33/17
x =

Answer key

  1. 1. x = 63
  2. 2. x = 3
  3. 3. N = 32
  4. 4. H = 30
  5. 5. p = 23
  6. 6. x = 127

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