Open In App
Related Articles

GATE | GATE CS 2012 | Question 65

Improve Article
Save Article
Like Article

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 A, and a quarter to Organization B, while retaining the remaining with itself. Which of the following is a valid allocation of addresses to A and B?

(A) and

(B) and

(C) and

(D) and

Answer: (A)


Explanation : The correct option is A – and
It has 20 bit mask, so total number of hosts are 2^12 hosts.
It wants half of the chunk to A, therefore mask of A should be 21 bits, so it will contain 2^11 hosts.
∴ Two choices for A
⇒ 245.248.1000 0000.0/21
    245.248.1000 1000.0/21
∴ A can be assigned
Now, one fourth needs to be assigned to B, hence its mask should be of 22 bits. But if we look at other choice, the host in A and B are conflicting, therefore option (A) is correct.

Quiz of this Question
Please comment below if you find anything wrong in the above post

Last Updated : 28 Jun, 2021
Like Article
Save Article
Similar Reads