The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+3 votes

Let host X has IP address and host Y has IP address and both hosts use the same netmask Z. which of the network masks Z given below can used if both hosts are in the same network?

asked in Computer Networks by (371 points) | 104 views
none of these

it will be $$


please explain why and can't be subnet mask.

For both hosts to be in the same network performing bitwise AND (&) operation between IP address and subnet mask, result should be same subnet ID to be in same network.

By performing AND operation with option 3) gives same subnet ID and with option 4) gives same subnet id .


Bikram sir please help.

2 Answers

+3 votes

DO bitwise AND with, 

for both the IP address we will get the same network id which is Hence it is a Subnet Mask.

Even for 4th option we can get the same AND operation result form both IP address.

i think both option c and d can be answer.

Correct me if i am wrong.

answered by Loyal (3.6k points)
C and D both options are correct
+1 vote

Option is C) the correct optioNn

answered by Active (1.4k points)

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

29,167 questions
36,992 answers
34,837 users