GATE CS 2012 · Question 34 · Computer Networks · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer

An Internet Service Provider (ISP) has the following chunk of CIDR-based IP addresses available with it: 245.248.128.0/20. The ISP wants to give half of this chunk of addresses to Organization A, and a quarter to Organization B, while retaining the remaining with itself. Which of the following is a valid allocation of addresses to A and B?

  1. (A) 245.248.136.0/21 and 245.248.128.0/22
  2. (B) 245.248.128.0/21 and 245.248.128.0/22
  3. (C) 245.248.132.0/22 and 245.248.132.0/21
  4. (D) 245.248.136.0/24 and 245.248.132.0/21
Answer

Answer (A)

Answer from the official GATE CS 2012 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes