Questions: IP Routing and Forwarding

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A router receives a packet destined for 10.5.3.7. Its routing table has three matching entries: 10.0.0.0/8, 10.5.0.0/16, and 10.5.3.0/24. Which entry does the router use?

A10.0.0.0/8, because it is the broadest match and ensures the packet reaches the right general network
B10.5.0.0/16, as the middle-specificity entry provides a balanced forwarding decision
C10.5.3.0/24, because it is the longest (most specific) prefix that matches the destination
DThe router floods the packet on all interfaces since multiple entries match simultaneously
Question 2 Multiple Choice

A packet is traveling from New York to Tokyo across the Internet, passing through a router in Los Angeles. What does the LA router know about the complete path to Tokyo?

AIt has a full routing map showing all 10–15 hops to Tokyo, which it uses to select the optimal complete path
BIt knows only the best next hop toward Tokyo — which neighboring router to forward the packet to — and nothing about the path beyond that
CIt broadcasts the packet to all connected neighbors and lets them compete to determine the next hop
DIt must first query Tokyo to establish the full path before forwarding any packets
Question 3 True / False

A router's default route (0.0.0.0/0) is used only when no other routing table entry matches the destination, because it has the shortest possible prefix.

TTrue
FFalse
Question 4 True / False

Dynamic routing protocols like OSPF allow routers to compute and store the full end-to-end path to each destination network, which they then follow when forwarding packets.

TTrue
FFalse
Question 5 Short Answer

Why does the Internet use longest-prefix match routing rather than exact-IP-address matching, and what fundamental Internet design property does this enable?

Think about your answer, then reveal below.