ISRO | ISRO CS 2015 | Question 53

In a class B subnet, we know the IP address of one host and the mask as given below:

IP address: 125.134.112.66
Mask: 255.255.224.0

What is the first address(Network address)?
(A) 125.134.96.0
(B) 125.134.112.0
(C) 125.134.112.66
(D) 125.134.0.0


Answer: (A)

Explanation: We can obtain Network Address by performing bitwise and operation of IP address and Subnet Mask.

IP address: 125.134.112.66
Subnet Mask: 255.255.224.0
IP address:  01111101 10000110 01110000 01000010
Subnet Mask: 11111111 11111111 11100000 00000000
Network ID:  01111101 10000110 01100000 00000000

So, Network Address = 125.134.96.0
Option (A) is correct.


Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.