ISRO Scientist/Engineer CSE 2017Computer Networks › IP Addressing and Subnetting
ISRO Scientist/Engineer CSE 2017 PYQ: An Internet Service Provider (ISP) has the following chunk of CIDR-based IP addresses available with it:…
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$?
- A$245.248.136.0/21 \text{ and } 245.248.128.0/22$Correct answer
- B$245.248.128.0/21 \text{ and } 245.248.128.0/22$
- C$245.248.132.0/22 \text{ and } 245.248.132.0/21$
- D$245.248.136.0/24 \text{ and } 245.248.132.0/21$
Answer
(A) $245.248.136.0/21 \text{ and } 245.248.128.0/22$
Approach
The ISP owns the block 245.248.128.0/20, which contains $2^{32-20} = 4096$ addresses. Organization A must receive half (2048 addresses, i.e., a /21 block) and Organization B must receive a quarter (1024 addresses, i.e., a /22 block). Both sub-blocks must lie entirely within the original /20 block and must not overlap. We check each option for correct size and containment.
Reviewed by ISRO IQ Editorial Team.