edited by
644 views
4 votes
4 votes

The subnet mask for a particular network is $255.255.0.0.$ Which of the following pairs of IP addresses could belong to this network? (Mark all the appropriate choices)

  1. $158.59.195.66$ and $158.59.131.33$
  2. $16.39.22.2$ and $16.39.48.9$
  3. $191.28.106.43$ and $191.29.202.54$
  4. $35.8.129.55$ and $35.9.129.59$
edited by

1 Answer

4 votes
4 votes
The given subnet is of class B as it has $16$ Network ID bits. So, option B is ruled out.
    
We get the network number by the bitwise AND of IP and subnet mask. Options C and D are not answers as the second byte of IP address differs whereas second byte of subnet is all $1s.$

 Let's see option A.

 $158.59.195.66 \;\&\; 255.255.0.0 = 158.59.0.0$
 $158.59.131.33 \;\&\; 255.255.0.0 = 158.59.0.0$
   
 Thus we get the same network number.
edited by
Answer:

Related questions

2 votes
2 votes
1 answer
1
gatecse asked Oct 23, 2020
182 views
The routing table of a router is shown below:$$\begin{array}{|c|c|c|}\hline\text{Destination} & \text{Subnet Mask} & \text{Interface}\\\hline142.72.43.0 & 255.255.255.128...
3 votes
3 votes
2 answers
3
gatecse asked Oct 23, 2020
240 views
Which of the following is/are the services offered by UDP? (Mark all the appropriate choices)ReliabilityMulticastConnection-less serviceCongestion control