GATE / CS ARCHIVE

GATE CSE 2013 / QUESTION 14

Layer processing across two routers

Computer Networks · Network Layers & Devices · Full GATE CSE 2013 paper

GATE 2013, Q14 1 mark · MCQ
Report issue

Network Layers & Devices

Question 14, GATE 2013: S sends a packet to D via two routers, S–R1–R2–D. Count network-layer and data-link-layer visits, respectively. A4/4; B4/3; C4/6; D2/6.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

The network layer is visited at the source, each of the two routers, and the destination: 4 times. There are three links, and each requires a data-link send and receive, so the data-link layer is visited 6 times. Hence C.

Count at nodes and links separately. Network-layer processing occurs at S, R1, R2, D, once at each. The links are S–R1, R1–R2, R2–D. Each link has a sending data-link action and a receiving data-link action, so three links contribute six visits. A router participates in two data-link interfaces: it receives one frame and constructs/transmits another, while forwarding the enclosed network packet.

Original paper, page 4 · Answer key