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

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

/30
x =
2.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 =
3.Medium
/20 → /2311111111111111111111111000000000network bitshost bits

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

10.43.224.0/20/23
N =
4.Medium
/?11111111111111111111100000000000network bitshost bits

A department needs 1147 host addresses in a single subnet. What is the longest prefix length p (smallest subnet) that is big enough?

1147 hosts
p =
5.Hard
third octet 229 … 234112816413201608140211commonvaries

A router has routes to these networks: 10.245.229.0/24, 10.245.230.0/24, 10.245.231.0/24, 10.245.232.0/24, 10.245.233.0/24, 10.245.234.0/24. What is the longest prefix length p of a single summary route that covers all of them?

10.245.229.0/24 … 10.245.234.0/24
p =
6.Hard

The network 192.168.110.0/24 is split with VLSM for these LANs: A: 9 hosts, B: 55 hosts, C: 20 hosts, D: 104 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 A?

A: 9B: 55C: 20D: 104
x =

Answer key

  1. 1. x = 3
  2. 2. x = 252
  3. 3. N = 8
  4. 4. p = 21
  5. 5. p = 20
  6. 6. x = 224

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