Computer-Networks
October 16, 2023
Data-Structures
October 16, 2023
Computer-Networks
October 16, 2023
Data-Structures
October 16, 2023

Computer-Networks

Question 3

Consider three machines M, N and P with IP addresses 100.10.5.2, 100.10.5.5, and 100.10.5.6 respectively. The subnet mask is set to 255.255.255.252 for all the three machines. Which one of the following is true?

A
M, N, and P all belong to the same subnet
B
Only M and N belong to the same subnet
C
M, N and P belong to three different subnets
D
Only N and P belong to the same subnet
Question 3 Explanation: 
Take each IP and do bitwise AND with the given Subnet Mask. If we get the same network ID for the given IP’S then it will belong to the same subnet.

Therefore, N and P belong to the same subnet.

Correct Answer: D
Question 3 Explanation: 
Take each IP and do bitwise AND with the given Subnet Mask. If we get the same network ID for the given IP’S then it will belong to the same subnet.

Therefore, N and P belong to the same subnet.

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!