An organization requires a range of IP address to assign one to each of its computers. The organization has approached an Internet Service Provider (ISP) for this task. The ISP uses CIDR and serves the requests from the available IP address space . The ISP wants to assign an address space to the organization which will minimize the number of routing entries in the ISP’s router using route aggregation. Which of the following address spaces are potential candidates from which the ISP can allot any one of the organization?
View worked solution
Answer: B
To find the potential candidate address spaces, we must satisfy three conditions: host capacity, ISP range constraint, and proper CIDR block alignment.
- Host Capacity: The organization requires IP addresses. The smallest power of that can accommodate this is . This requires host bits, leaving bits for the network prefix. Thus, a subnet mask is required. All given options satisfy this.
-
ISP Range Constraint:
The ISP's available block is .
For a mask, the first bits are fixed. The octet has its most significant bit fixed to (since ).
Therefore, the octet can range from to ().
- Option IV () has a octet of , which falls outside the ISP's range.
-
CIDR Block Alignment:
For any valid block, the octet must be a multiple of .
- I. : is not a multiple of . (Invalid CIDR block)
- II. : is a multiple of (). (Valid)
- III. : is a multiple of (). (Valid)
Thus, only II and III are potential candidates.
Free practice · Your answers on this page are not saved.
