Skip to content
Official PYQ · 2005

GATE CS 2005 Q27 — Fragmentation and IP Addressing, IPv4, CIDR

Explain with AI

An organization has a class BB network and wishes to form subnets for 6464 departments. The subnet mask would be:

Choose one option
View worked solution

Answer: D

To determine the subnet mask, we analyze the requirements step-by-step:

  1. Identify the Class: The organization has a Class B network.
    • Default Class B mask: 255.255.0.0
    • Network bits = 1616, Host bits = 1616.
  2. Determine Subnet Bits: We need to create at least 6464 subnets for the departments. Let kk be the number of bits borrowed from the host portion for subnetting: 2k≥64  ⟹  k=6 bits2^k \ge 64 \implies k = 6 \text{ bits}
  3. Construct the Subnet Mask: We borrow 66 bits from the third octet (the first octet of the host portion):
    • First octet: 111111112=25511111111_2 = 255
    • Second octet: 111111112=25511111111_2 = 255
    • Third octet (borrowing 66 bits): 111111002=128+64+32+16+8+4=25211111100_2 = 128 + 64 + 32 + 16 + 8 + 4 = 252
    • Fourth octet: 000000002=000000000_2 = 0

Combining these, the subnet mask is 255.255.252.0255.255.252.0.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Fragmentation and IP Addressing, IPv4, CIDR questions