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

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

/20
H =
2.Easy
/2711111111111111111111111111100000network bitshost bits

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

/27
x =
3.Medium
/20 → /2711111111111111111111111111100000network bitshost bits

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

10.12.48.0/20/27
N =
4.Medium
/24 → /2911111111111111111111111111111000network bitshost bits

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

192.168.10.0/2430 subnets
H =
5.Hard

The network 192.168.70.0/24 is split with VLSM for these LANs: A: 9 hosts, B: 6 hosts, C: 36 hosts, D: 16 hosts, E: 10 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: 6C: 36D: 16E: 10
x =
6.Hard
third octet 61 … 68012806413211618140211commonvaries

A router has routes to these networks: 10.146.61.0/24, 10.146.62.0/24, 10.146.63.0/24, 10.146.64.0/24, 10.146.65.0/24, 10.146.66.0/24, 10.146.67.0/24, 10.146.68.0/24. What is the longest prefix length p of a single summary route that covers all of them?

10.146.61.0/24 … 10.146.68.0/24
p =

Answer key

  1. 1. H = 4094
  2. 2. x = 31
  3. 3. N = 128
  4. 4. H = 6
  5. 5. x = 112
  6. 6. p = 17

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