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.12811111111111111111111111110000000network bitshost bits

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

255.255.255.128
p =
2.Easy
/2611111111111111111111111111000000network bitshost bits

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

/26
x =
3.Medium
/24 → /2911111111111111111111111111111000network bitshost bits

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

192.168.10.0/2420 subnets
H =
4.Medium
/24 → /2711111111111111111111111111100000network bitshost bits

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

192.168.10.0/246 subnets
H =
5.Hard

The network 192.168.177.0/24 is split with VLSM for these LANs: A: 11 hosts, B: 19 hosts, C: 3 hosts, D: 14 hosts, E: 47 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 D?

A: 11B: 19C: 3D: 14E: 47
x =
6.Hard

The network 192.168.142.0/24 is split with VLSM for these LANs: A: 18 hosts, B: 9 hosts, C: 104 hosts, D: 62 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: 18B: 9C: 104D: 62
x =

Answer key

  1. 1. p = 25
  2. 2. x = 63
  3. 3. H = 6
  4. 4. H = 30
  5. 5. x = 96
  6. 6. x = 224

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