Open In App

Computer Networks | IP Addressing | Question 8

Like Article
Like
Save
Share
Report

If block contains 32 IP address which of the following is first address of the block ?

(A)

10.0.0.5

(B)

10.0.0.16

(C)

10.0.0.68

(D)

10.0.0.160



Answer: (D)

Explanation:

As here block contains total IP addresses = 32
To represents all 32 IP address we need 5 bit so #of host bits=5.
Now, As It belongs to CLASS A we have to focus only on the last octet because in CLASS A host bit =8 bit.
5= 00000101
16= 00010000
68=01000100
160=10100000
AS #of host bits=5. so we have to only focus on the last 5 bits and for the first address all host bits must be 0’s.

Hence option(d) is correct.


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


Last Updated : 04 Jan, 2024
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads