All mock tests are FREE till 31 December — register to save your progress

An ISP has the CIDR block 245.248.128.0/20. It wants to give half of it to organization A and a quarter to organization B, keeping the rest. Which is a valid allocation to A and B?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: A. 245.248.136.0/21 and 245.248.128.0/22

Explanation

The /20 spans 245.248.128.0–143.255. Half is a /21 and a quarter a /22. A gets 136.0/21 (136–143) and B gets 128.0/22 (128–131); they don't overlap and the ISP keeps 132–135.

More Data Communication and Computer Networks questions