• edited by
45,136 views
98 98 votes

An organization requires a range of IP address to assign one to each of its $1500$ 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 $202.61.0.0/17$. 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 to the organization?

  1. $202.61.84.0/21$
  2. $202.61.104.0/21$
  3. $202.61.64.0/21$
  4. $202.61.144.0/21$
  1. $\text{I}$ and $\text{II}$ only
  2. $\text{II}$ and $\text{III}$  only
  3. $\text{III}$ and $\text{IV}$ only
  4. $\text{I}$ and $\text{IV}$ only

8 Answers

Best answer
131 131 votes

(B) II and III only 


Given IP address space: $202.61.0.0/17$, $17$ bits are in network ID bits(NID) and rest will be host ID bits(HID).

$\underbrace{202.61.0}_{17 \text{ NID } bits}0000000.00000000$

In order to assign $1500$ hosts we need minimum $11$ bits

$\underbrace{202.61.0}_{17 \text{ NID }  bits}\ \underbrace{0000}_{4 \text{ SID } bits}\underbrace{000.00000000}_{11 \ \text{ HID } \ bits}$

We have $4$ subnet bits, eligible networks are those which belongs among possible 16 subnets.

If we expand the given Network bits we can see:

  • $202.61.\textbf{84}.0/21 = 202.61.0\textbf{1010}100.0$
    Not possible as all Host Bits should be zero
  • $202.61.\textbf{104}.0/21 = 202.61.0\textbf{1101}000.0$
    Possible
  • $202.61.\textbf{64}.0/21 = 202.61.0\textbf{1000}000.0$
    Possible
  • $202.61.\textbf{144}.0/21 =202.61.1\textbf{0010}000.0 $
    Not possible as $16^{th}$ bit from right (part of $\text{NID}$ is $0$ and not $1)$
• selected by
11 11 votes

Given :
Network ID = 202.61.0.0/17
No.of hosts = 1500
Bits of Network ID = 17
Solution :
No. of bits required for Host ID = ⌈log2(1500)⌉ ≈ 11 (Rounding off)
No. of bits in Subnet Part = 32 - (17+11) = 4
i.e Required IP Address Assigned can be
202.61.0 _ _ _ _ 000.00000000/21
i.e... Possible Values of 3rd Octet are 0 , 8 , 16 , 24 , 32 , 40 , 48 , 56 , 64 , 72 , 80 , 88 , 96 , 104 , 112 , 120.
i.e Possible IP Addresses are - 
202.61.0.0/21, 202.61.0.8/21 , 202.61.16.0/21, 202.61.24.0/21 , 202.61.32.0/21 , 202.61.40.0/21 , 202.61.48.0/21 , 202.61.56.0/21 , 202.61.64.0/21 , 202.61.72.0/21 , 202.61.80.0/21 , 202.61.88.0/21 , 202.61.96.0/21 , 202.61.104.0/21 , 202.61.112.0/21,
202.61.120.0/21 

i.e IP addresses II and III are potential candidates to be alloted by the ISP.
Correct Option is b) II and III only 

8 8 votes
It can be done in just few seconds if you know the property that to form a supernet the first address of the block must be divisible by the number of demanded ip addresses.

Here the demand is 1500 but we need to give 2048 which is 2^11.

Now test each of the option given.

To be eligible the IP addresses must be divisible by 2^11 that is it must contain 11 zeros from last.

When you check the number of zeros from last only option B and C will be valid.
1 1 vote

COMMENT BELOW IF YOU HAVE ANY DOUBT

Answer:
Position:
Show:

Related questions

60 60 votes
4 answers 4 answers
25.1k
25.1k views
Arjun asked Feb 12, 2020
25,138 views
Consider a double hashing scheme in which the primary hash function is $h_1(k)= k \text{ mod } 23$, and the secondary hash function is $h_2(k)=1+(k \text{ mod } 19)$. Ass...
49 49 votes
7 answers 7 answers
28.1k
28.1k views
Arjun asked Feb 12, 2020
28,076 views
Consider a $\textsf{TCP}$ connection between a client and a server with the following specifications; the round trip time is $6$ ms, the size of the receiver advertised w...
32 32 votes
8 answers 8 answers
18.9k
18.9k views
Arjun asked Feb 12, 2020
18,949 views
Consider the following statements about the functionality of an $\textsf{IP}$ based router.A router does not modify the $\textsf{IP}$ packets during forwarding.It is not ...
38 38 votes
8 answers 8 answers
29.6k
29.6k views
Arjun asked Feb 12, 2020
29,582 views
Assume that you have made a request for a web page through your web browser to a web server. Initially the browser cache is empty. Further, the browser is configured to s...