1 votes 1 votes Which of the following tasks does a router $X$ in a packet-switched network perform when it gets a packet with destination address $d?$ (Mark all the appropriate choices) $X$ looks up $d$ in its routing table to determine the outgoing link. $X$ calculates the minimum-cost route to destination $d.$ $X$ sends out a HELLO packet or a routing protocol advertisement to its neighbors. $X$ may discard the packet without forwarding it. Computer Networks go2025-mix-4 packet-switching multiple-selects + – gatecse asked Nov 27, 2020 • recategorized Nov 27, 2020 by Lakshman Bhaiya gatecse 107 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply rohith8194 commented Dec 24, 2020 reply Follow Share @gatecse Sir, in option A, we are not really looking up the destination address $d$ in the routing table right? We take the destination address and do bitwise $AND$ operation with the subnet masks and route the packet to the interface that matches the Network ID with longest subnet mask. So shouldn’t option $A$ be false? Please correct me if I’m wrong. 0 votes 0 votes palashbehra5 commented Jan 30, 2022 reply Follow Share “ and route the packet to the interface that matches the Network ID with the longest subnet mask. “ How do you route it to the interface without looking up the mapping? 0 votes 0 votes Please log in or register to add a comment.
3 votes 3 votes Router also performs task B and C right? Just not necessarily when it receives a new packet thus option A, D are the correct choices? infodevesh answered Dec 5, 2020 infodevesh comment Share Follow See all 0 reply Please log in or register to add a comment.