Question Bank - Computer Networks

Here's the question bank on all the computer networks topics.

Your router has the following IP address on Ethernet: 172.16.2.1/23. Which of the following can be valid host IDs on the LAN interface attached to the router? i) 172.16.1.100 ii) 172.16.1.198 iii) 172.16.2.255 iv) 172.16.3.0

A.
only (i)
B.
(ii) and (iii) only
C.
(iii) and (iv) only
D.
None of the above

Solution:

Concept:a.b.c.d/NIDTherefore 23 bits are in NID and only 9 bits for Host id.Explanation:Last two byte of IP address is represented in binaryEthernet: 172.16.2.1/23Range of IP address: 172.16.0000 00010.0000000 to 172.16.0000011.11111111Range of IP address: 172.16.2.0 to 172.16.3.255First and last IP address are reservedValid Host IP address: 172.16.2.1 to 172.16.3.254Statement i: 172.16.1.100It is not valid since it does not fall in the rangeStatement ii: 172.16.1.198It is not valid since it does not fall in the rangeStatement iii: 172.16.2.255It is valid since it does fall in the valid rangeStatement iv: 172.16.3.0It is valid since it does fall in the valid rangeHence option 3 is the correct answer.Important Point:NID stands for network ID.

For more questions,

Click Here

Download Gyanm App

free current affairs for competitive exams

Scan QR code to download our App for
more exam-oriented questions

free current affairs for competitive exams

OR
To get link to download app

Thank you! Your submission has been received. You will get the pdf soon. Call us if you have any question: 9117343434
Oops! Something went wrong while submitting the form.