Skip to content

GATE CS 2026 Set 1 Q46 — Routing Protocols: Shortest Path, Flooding, Distance Vector, Link State

Explain with AI

An ISP having an address block 202.16.0.0/15202.16.0.0/15 assigns a block of 60006000 IP addresses to a client, using the classless internet domain routing (CIDR) super-netting approach. Which of the following address blocks can be assigned by the ISP?

Select all correct options
View worked solution

Answer: A;B;C

To determine which address blocks can be assigned, we analyze the ISP's block and the client's requirements:

1. ISP Address Range:
The ISP has the block 202.16.0.0/15202.16.0.0/15. The first 1515 bits are fixed, which means the second octet can range from 1616 (00010000200010000_2) to 1717 (00010001200010001_2). Thus, any assigned block must fall within the range 202.16.0.0202.16.0.0 to 202.17.255.255202.17.255.255.

2. Client Block Size:
The client requires 60006000 IP addresses. The smallest power of 22 that can accommodate this is 213=81922^{13} = 8192. This corresponds to a prefix length of: 32−13=1932 - 13 = 19

3. Valid /19/19 Block Boundaries:
For a block 202.Y.Z.0/19202.Y.Z.0/19 to be valid:

  • The second octet YY must be 1616 or 1717.
  • The first 33 bits of the third octet ZZ belong to the network prefix, and the remaining 55 bits must be 00 for the network address. Thus, ZZ must be a multiple of 25=322^5 = 32 (i.e., 0,32,64,96,…0, 32, 64, 96, \dots).

Evaluating the Options:

  • A. 202.16.0.0/19202.16.0.0/19: Y=16Y = 16 (valid) and Z=0Z = 0 (multiple of 3232, valid).
  • B. 202.17.64.0/19202.17.64.0/19: Y=17Y = 17 (valid) and Z=64Z = 64 (multiple of 3232, valid).
  • C. 202.16.32.0/19202.16.32.0/19: Y=16Y = 16 (valid) and Z=32Z = 32 (multiple of 3232, valid).
  • D. 202.17.24.0/19202.17.24.0/19: Y=17Y = 17 (valid), but Z=24Z = 24 is not a multiple of 3232, making it an invalid network boundary.

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

Published
Report a correction
Keep exploringMore Routing Protocols: Shortest Path, Flooding, Distance Vector, Link State questions