A subnet has the mask 255.255.255.128. 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 /24?
A department needs 721 host addresses in a single subnet. What is the longest prefix length p (smallest subnet) that is big enough?
The network 172.17.0.0/16 is divided into equal subnets with prefix /23. How many subnets N are there?
A host has the address 10.20.104.193/28. What is the last number (fourth octet) x of its subnet's broadcast address?
The network 192.168.63.0/24 is split with VLSM for these LANs: A: 27 hosts, B: 90 hosts, C: 17 hosts, D: 5 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 C?
Answer key
- 1. p = 25
- 2. H = 254
- 3. p = 22
- 4. N = 128
- 5. x = 207
- 6. x = 160
Full step-by-step solutions: practise this topic on examproblems.com.