Learn CS Visual

Hop-by-Hop Path Selection

Routing delivers a packet from source to destination by passing it router by router. Moving a packet across one router to the next is called a hop. No single router knows the full path to the destination — each one consults its routing table and decides only the next hop. Repeating this decision hop by hop, the packet eventually reaches its destination.

When the packet reaches R2, what does R2 decide by consulting its routing table?