Question Bank - Computer Networks

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

A router uses the following routing table:DestinationMaskInterface144.16.0.0255.255.0.0eth0144.16.64.0255.255.224.0eth1144.16.68.0255.255.255.0eth2144.16.68.64255.255.255.224eth3A packet bearing an estimation address 144.16.68.117 arrives at the router. On which interface will it be forwarded?

A.
eth0
B.
eth1
C.
eth2
D.
eth3

Solution:

The correct answer is "option 3".CALCULATION:To calculate the interface, perform the following steps:1.Bitwise AND between IP address 144.16.68.117 & subnet mask.2.Match the output network address with the destination address given corresponding to the subnet mask. DESTINATION ADDRESS(GIVEN)MASKBITWISE AND(ADDRESS & MASK)144.16.0.0144.16.68.117255.255.0.0144.16.0.0144.16.64.0144.16.68.117255.255.224.0144.16.64.0144.16.68.0144.16.68.117255.255.255.0144.16.68.0144.16.68.64144.16.68.117255.255.255.224144.16.68.96Option 3: 1st Octet2nd Octet3rd Octet4th Octet144.16.68.117 1001000000010000 010001001110101255.255.255.0 (&)11111111111111111111111100000000Result10010000 000100000100010000000000 14416680Hence, the packet with IP address 144.16.68.117 will be forwarded to the interface eth2.

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.