ITPEC FE Morning April 2023 Question 33
Topic: Networks
How many host addresses are there in the network 192.168.10.0/26?
Explanation
62 — a /26 leaves 6 host bits, and two of the 64 addresses are reserved.
- •Host bits: 32 - 26 = 6
- •Addresses: 26 = 64, from
192.to168. 10. 0 192.168. 10. 63 - •Host addresses: 64 - 2 = 62, leaving out the network address
192.and the broadcast address168. 10. 0 192.168. 10. 63
Answer (b)
Why not others:
- •(a) 30 — 25 - 2, the count for a /27 with 5 host bits.
- •(c) 126 — 27 - 2, the count for a /25 with 7 host bits.
- •(d) 254 — 28 - 2, treating the whole last octet as the host part, as in a /24, and ignoring the two extra prefix bits.
Key rule: Host addresses = 2h - 2, where h is 32 minus the prefix length; the 2 are the network and broadcast addresses.
Networks · AI-written, may contain errors
This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official FE past-paper collection or Report an issue.