ITPEC FE Morning October 2022 Question 32

Source exam: ITPEC FE Morning October 2022Topic: Networks

ITPEC FE Morning October 2022 — Question 32 of 80

Subnet Mask from CIDR Notation — convert /27 to dotted-decimal subnet mask.

/27 means 27 bits are set to 1 in the mask.

  • First 24 bits fill 3 full octets: 255.255.255.___
  • Remaining 3 bits in the 4th octet: 11100000 = 224
  • Result: 255.255.255.224

Quick reference — 4th octet values by prefix length:
- /25128, /26192, /27224, /28240

- /29248, /30252, /31254, /32255

Why not others:
- (a) 255.255.255.192 — corresponds to /26 (2 bits in last octet)

- (c) 255.255.255.248 — corresponds to /29 (5 bits in last octet)

- (d) 255.255.255.252 — corresponds to /30 (6 bits in last octet)

Key rule: Subtract 24 from the prefix length to get the number of 1 bits in the last octet, then compute 256 − 2^(8 − bits).

AI-generated — may contain errors

The original exam layout is preserved in the image so diagrams, formulas, tables, and code remain accurate.

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.