A subnet has the mask 255.255.254.0. What is its prefix length p?
IPv4 subnetting worksheet with answers
1.Easy
255.255.254.0
p =
2.Easy
Write the subnet mask of a /19 network in dotted-decimal notation. What is the value x of its third octet?
/19
x =
3.Medium
The network 10.196.240.0/20 is divided into equal subnets with prefix /27. How many subnets N are there?
10.196.240.0/20/27
N =
4.Medium
A department needs 995 host addresses in a single subnet. What is the longest prefix length p (smallest subnet) that is big enough?
995 hosts
p =
5.Hard
A router has routes to these networks: 10.81.182.0/24, 10.81.183.0/24, 10.81.184.0/24, 10.81.185.0/24, 10.81.186.0/24, 10.81.187.0/24. What is the longest prefix length p of a single summary route that covers all of them?
10.81.182.0/24 … 10.81.187.0/24
p =
6.Hard
A host has the address 10.20.85.249/30. What is the fourth octet x of the last usable host address in its subnet?
10.20.85.249/30
x =
Answer key
- 1. p = 23
- 2. x = 224
- 3. N = 128
- 4. p = 22
- 5. p = 20
- 6. x = 250
Full step-by-step solutions: practise this topic on examproblems.com.