An Internet Service Provider (ISP) has the following chunk of CIDR-based IP addresses available with it: . The ISP wants to give half of this chunk of 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 ?
View worked solution
Answer: A
The ISP has the CIDR block . The third octet starts at (). With a prefix, the first bits of the third octet are fixed as , giving a range of third octet values from to (total blocks of size ).
We need to allocate:
- Organization A: Half of the block needs a subnet (size in the third octet).
- Organization B: A quarter of the block needs a subnet (size in the third octet).
We can split the block into two equal subnets:
- (covers third octet range )
- (covers third octet range )
If we allocate the second half, , to Organization A, we can further split the first half () into two subnets:
- (covers third octet range )
- (covers third octet range )
Allocating to Organization B ensures there is no overlap between A and B, and both allocations are valid. This matches Option A.
Free practice · Your answers on this page are not saved.
