wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

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

A
255.255.255.192
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
255.255.255.0
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
255.255.255.224
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
255.255.255.128
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C 255.255.255.224
IP address of A = 10.105.1.113
=10.105.1.01110001
IP address of B = 10.105.1.91
= 10.105.1.01011011
For finding network address we take AND of IP
address with the netmask N. So we check one by one

(a) (i) 255.255.255.0=N10.105.1.00000000––––––––––––––––––]TakingAND10.105.1.00000000––––––––––––––––––

(ii) By taking and with B2552552550000000010105101011011¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯101051000000000

So both belong to same network
(b) (i)2252252251282552552551000000010105101110001IPofA¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯10105100000000

(ii) 2552552551000000010105101011011IPofB¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯10105100000000

So both belong to same N/W
(d) (i) 2552552551110000010105101110001IPofA¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯10105101100000

(ii)25525525511100000101051010111011IPofB¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯10105101100000
Both are not same so it not belong to same network.

flag
Suggest Corrections
thumbs-up
1
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Constitutional Amendment
CIVICS
Watch in App
Join BYJU'S Learning Program
CrossIcon