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

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

/21
H =
3.Medium
/24 → /2911111111111111111111111111111000network bitshost bits

The network 192.168.224.0/24 is divided into /29 subnets, numbered 1, 2, 3, … from the lowest address (subnet 1 starts at .0). What is the fourth octet x of the network address of subnet 12?

192.168.224.0/24/29subnet 12 (subnet 1 starts at .0)
x =
4.Medium
/16 → /2411111111111111111111111100000000network bitshost bits

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

172.29.0.0/16/24
N =
5.Hard
last octet = 205112816403201618140211networkhost

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

10.20.5.205/30
x =
6.Hard

The network 192.168.12.0/24 is split with VLSM for these LANs: A: 11 hosts, B: 98 hosts, C: 59 hosts, D: 26 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: 11B: 98C: 59D: 26
x =

Answer key

  1. 1. x = 3
  2. 2. H = 2046
  3. 3. x = 88
  4. 4. N = 256
  5. 5. x = 207
  6. 6. x = 224

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