Suppose computers A and B have IP addresses 10.105.1.113 and 10.105.1.91…

2010

Suppose computers A and B have IP addresses 10.105.1.113 and 10.105.1.91 respectively and they both use the same net mask N. Which of the values of N given below should not be used if A and B should belong to the same network?

  1. A.

    255.255.255.0

  2. B.

    255.255.255.128

  3. C.

    255.255.255.192

  4. D.

    255.255.255.224

Attempted by 161 students.

Show answer & explanation

Correct answer: D

Correct. With mask 255.255.255.224 (/27) subnets are 32-address blocks: 0–31,32–63,64–95,96–127,... The addresses 91 and 113 fall into different /27 subnets: 91 is in 64–95 while 113 is in 96–127 — so this mask would place A and B on different networks.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Gate Guidance By Sanchit Sir