An Internet Service Provider (๐ผ๐‘†๐‘ƒ) has following chunk of ๐ถ๐ผ๐ท๐‘…โˆ’basedโ€ฆ

2018

An Internet Service Providerย (๐ผ๐‘†๐‘ƒ)ย has following chunk ofย ๐ถ๐ผ๐ท๐‘…โˆ’basedย ๐ผ๐‘ƒย addresses available with it :245.248.128.0/20. Theย ๐ผ๐‘†๐‘ƒย wants to give half of this chunk addresses to organizationย ๐ดย and a quarter to organizationย ๐ตย while retaining the remaining with itself. Which of the following is a valid allocation of addresses toย ๐ดย andย ๐ต?

  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

Attempted by 96 students.

Show answer & explanation

Correct answer: A

Final allocation: 245.248.136.0/21 to organization A; 245.248.128.0/22 to organization B; ISP retains 245.248.132.0/22.

  • Compute sizes: a /20 contains 2^(32-20)=4096 addresses. Half is 2048 addresses (a /21). A quarter is 1024 addresses (a /22).

  • List aligned subnets inside 245.248.128.0/20:

    Valid /21 subnets: 245.248.128.0/21 (covers .128.0โ€“.135.255) and 245.248.136.0/21 (covers .136.0โ€“.143.255).

    Valid /22 subnets: 245.248.128.0/22, 245.248.132.0/22, 245.248.136.0/22, 245.248.140.0/22.

  • Choose non-overlapping allocations that match the requested sizes: assign 245.248.136.0/21 (2048 addresses) as the half; assign 245.248.128.0/22 (1024 addresses) as the quarter. The remaining 245.248.132.0/22 (1024 addresses) stays with the ISP.

  • Verify: the chosen /21 and /22 do not overlap and all lie within 245.248.128.0/20, satisfying the requirement.

A video solution is available for this question โ€” log in and enroll to watch it.

Explore the full course: Tpsc Assistant Technical Officer