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ย ๐ต?
- A.
245.248.136.0/21ย andย 245.248.128.0/22
- B.
245.248.128.0/21ย andย 245.248.128.0/22
- C.
245.248.132.0/22ย andย 245.248.132.0/21
- 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.