A subnet has the mask 255.255.192.0. 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?
The network 192.168.173.0/24 is divided into /28 subnets, numbered 1, 2, 3, … from the lowest address (subnet 1 starts at .0). What is the fourth octet x of the broadcast address of subnet 9?
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?
A router has routes to these networks: 10.222.160.0/24, 10.222.161.0/24, 10.222.162.0/24, 10.222.163.0/24, 10.222.164.0/24, 10.222.165.0/24, 10.222.166.0/24. What is the longest prefix length p of a single summary route that covers all of them?
A host has the address 172.20.132.126/18. What is the third octet x of its subnet's broadcast address?
Answer key
- 1. p = 18
- 2. H = 2046
- 3. x = 143
- 4. H = 6
- 5. p = 21
- 6. x = 191
Full step-by-step solutions: practise this topic on examproblems.com.