Routing: How a Path Is Learned · seed 1 · A4, ink-friendly. The answer key prints on its own page for grown-ups.
به انگلیسی

How routers learn the way together

Computing · Networks & Security · ages 19-20
Name ______________________   Date ____________
  1. What does a router's forwarding table record?

    • A record of packet history for each destination
    • A next hop chosen for each destination
    • A list of link speeds beside each destination
  2. In a network graph, what does a path describe?

    • A route that follows connected links
    • A list of every router in the network
    • A table entry for one destination
  3. In a distance-vector model, the tables have settled once a round of neighbour exchanges changes no table.

    Circle one:   True   False

  4. A link fails. Why can some routers keep the old route for a while?

    • Updates carry the failure outward one hop at a time
    • Distance-vector tables never change after startup
    • Packets choose longer roads whenever a link fails
  5. Three routers form a line: A, B, C. How does A learn a route to C?

    • A sends a direct message to C
    • C appears in A's table without any exchange
    • B shares its route information with A
  6. Routers A, B, and C form a line. Each link costs 1. After the small model settles, what is the cost from A to C?

    Answer: ______________

  7. A student says one router knows the whole network at the start. Which statement corrects this?

    • A router starts with local links and neighbours
    • Every router starts with the complete network map
    • Routers learn from a central map before exchanging
  8. Traffic between two organisations takes a longer road even though a shorter one exists. Why can that happen?

    • Distance always chooses the shortest route
    • Policy can reject a shorter route between organisations
    • Business never affects interdomain paths
LightMySky · lightmysky.comW1-mt_gyqPDrV6Uo-s1

Answer key

For grown-ups. Fold this page away before handing over the rest.

How routers learn the way together W1-mt_gyqPDrV6Uo-s1

  1. A next hop chosen for each destination · The table tells the router which next hop to use for a destination it knows.
  2. A route that follows connected links · A path follows connected edges from a starting vertex to a destination vertex.
  3. True · The tables have settled when a round of neighbour exchanges leaves every entry unchanged.
  4. Updates carry the failure outward one hop at a time · In this model, failure information reaches farther routers through later exchanges.
  5. B shares its route information with A · B can tell A about its route to C, allowing A to learn the two-link path.
  6. 2 · B advertises distance 1 to C. A adds its link cost to B, so 1 + 1 = 2. A has no other route to C, so the table settles at cost 2.
  7. A router starts with local links and neighbours · No router starts with the whole network. Each one starts with its own links and neighbours, then learns farther routes through neighbour exchanges.
  8. Policy can reject a shorter route between organisations · Operators can accept or reject routes by policy, so hop count alone does not decide every interdomain path.
Worksheet · LightMySky