CS FundamentalsHardProduct-company MCQ pattern

Using VLSM, the block 192.168.1.0/24 is split for three LANs needing 100, 50 and 20 hosts, assigning the largest LAN first from the lowest addresses. What is the subnet given to the 20-host LAN?

  1. A. 192.168.1.192/27
  2. B. 192.168.1.160/27
  3. C. 192.168.1.128/27
  4. D. 192.168.1.192/26

Correct answer: A. 192.168.1.192/27

100 hosts need 7 host bits → 192.168.1.0/25 (0–127). 50 hosts need 6 → 192.168.1.128/26 (128–191). 20 hosts need 5 (30 usable) → next free block 192.168.1.192/27. .128/27 and .160/27 overlap the 50-host subnet; a /26 would waste 32 addresses.

More Computer Networks questions

Exams that ask this topic