A subnet has the mask 255.255.255.224. What is its prefix length p?
IPv4 subnetting worksheet with answers
How many usable host addresses H are there in an IPv4 subnet with prefix /21?
A subnet uses the mask 255.255.255.248. How many usable host addresses H does it have?
The network 192.168.35.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 6?
A router has routes to these networks: 10.86.163.0/24, 10.86.164.0/24, 10.86.165.0/24, 10.86.166.0/24, 10.86.167.0/24, 10.86.168.0/24. What is the longest prefix length p of a single summary route that covers all of them?
The network 192.168.0.0/24 is split with VLSM for these LANs: A: 5 hosts, B: 19 hosts, C: 22 hosts, D: 121 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?
Answer key
- 1. p = 27
- 2. H = 2046
- 3. H = 6
- 4. x = 40
- 5. p = 20
- 6. x = 160
Full step-by-step solutions: practise this topic on examproblems.com.