A subnet has the mask 255.255.240.0. What is its prefix length p?
IPv4 subnetting worksheet with answers
1.Easy
255.255.240.0
p =
2.Easy
How many usable host addresses H are there in an IPv4 subnet with prefix /28?
/28
H =
3.Medium
A department needs 227 host addresses in a single subnet. What is the longest prefix length p (smallest subnet) that is big enough?
227 hosts
p =
4.Medium
The network 192.168.10.0/24 must be divided into at least 5 equal subnets. If you borrow as few bits as possible, how many usable hosts H does each subnet have?
192.168.10.0/245 subnets
H =
5.Hard
A router has routes to these networks: 10.132.113.0/24, 10.132.114.0/24, 10.132.115.0/24, 10.132.116.0/24, 10.132.117.0/24. What is the longest prefix length p of a single summary route that covers all of them?
10.132.113.0/24 … 10.132.117.0/24
p =
6.Hard
A host has the address 10.20.189.219/28. What is the fourth octet x of its network address?
10.20.189.219/28
x =
Answer key
- 1. p = 20
- 2. H = 14
- 3. p = 24
- 4. H = 30
- 5. p = 21
- 6. x = 208
Full step-by-step solutions: practise this topic on examproblems.com.