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
255.255.255.19211111111111111111111111111000000network bitshost bits

A subnet has the mask 255.255.255.192. What is its prefix length p?

255.255.255.192
p =
2.Easy
third octet of /21112816413211618040201oneszeros

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

/21
x =
3.Medium
255.255.240.011111111111111111111000000000000network bitshost bits

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

255.255.240.0
H =
4.Medium
255.255.248.011111111111111111111100000000000network bitshost bits

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

255.255.248.0
H =
5.Hard
last octet = 241112816413211608040211networkhost

A host has the address 10.20.93.241/25. What is the fourth octet x of the last usable host address in its subnet?

10.20.93.241/25
x =
6.Hard

The network 192.168.144.0/24 is split with VLSM for these LANs: A: 3 hosts, B: 16 hosts, C: 91 hosts, D: 18 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 B?

A: 3B: 16C: 91D: 18
x =

Answer key

  1. 1. p = 26
  2. 2. x = 248
  3. 3. H = 4094
  4. 4. H = 2046
  5. 5. x = 254
  6. 6. x = 160

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