GATE | GATE IT 2006 | Question 63
A router uses the following routing table:
A packet bearing a destination address 144.16.68.117 arrives at the router. On which interface will it be forwarded?
(A) eth0
(B) eth1
(C) eth2
(D) eth3
Answer: (C)
Explanation: For sure A and B can not be answer
For C: subnet address of interface = 144. 16 . 68 .0
Subnet address of incoming IP = 144. 16. 68. 117 AND 255.255.255.0 = 144. 16. 68.0
Both subnetwork addresses are same, so can be forwarded to this interface eth2
D:
Subnet address of incoming IP = 144. 16. 68. 117 AND 255.255.255.224 = 144. 16. 68.96
Hence both subnet addresses are different, so cannot be forwarded to this eth3 interface.
Quiz of this Question
Please comment below if you find anything wrong in the above post