How many usable host addresses H are there in an IPv4 subnet with prefix /24?
IPv4 subnetting worksheet with answers
1.Easy
/24
H =
2.Easy
A subnet has the mask 255.255.255.128. What is its prefix length p?
255.255.255.128
p =
3.Medium
A department needs 1802 host addresses in a single subnet. What is the longest prefix length p (smallest subnet) that is big enough?
1802 hosts
p =
4.Medium
A subnet uses the mask 255.255.252.0. How many usable host addresses H does it have?
255.255.252.0
H =
5.Hard
A router has routes to these networks: 10.180.211.0/24, 10.180.212.0/24, 10.180.213.0/24, 10.180.214.0/24. What is the longest prefix length p of a single summary route that covers all of them?
10.180.211.0/24 … 10.180.214.0/24
p =
6.Hard
A host has the address 10.20.149.228/28. What is the last number (fourth octet) x of its subnet's broadcast address?
10.20.149.228/28
x =
Answer key
- 1. H = 254
- 2. p = 25
- 3. p = 21
- 4. H = 1022
- 5. p = 21
- 6. x = 239
Full step-by-step solutions: practise this topic on examproblems.com.