GATE | GATE-CS-2015 (Mock Test) | Question 17
Routers forward a packet using forwarding table entries. The network address of incoming packet may match multiple entries. How routers resolve this?
(A) Forward it the router whose entry matches with the longest prefix of incoming packet
(B) Forward the packet to all routers whose network addresses match.
(C) Discard the packet.
(D) Forward it the router whose entry matches with the longest suffix of incoming packet
Explanation: The network addresses of different entries may overlap in forwarding table. Routers forward the incoming packet to the router which hash the longest prefix matching with the incoming packet.
Quiz of this Question
Attention reader! Don’t stop learning now. Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.
Learn all GATE CS concepts with Free Live Classes on our youtube channel.