LightMySky
En anglais

Routing: How a Path Is Learned

No router knows the whole network. Inside one organisation routers exchange what they know until their tables agree; between organisations the choice is shaped by policy and business relationships as much as by distance.

Commence ce sujetPas besoin de compte. La progression est enregistrée dans ce navigateur.

Ce que l'enfant saura faire ensuite

  • Run a distance-vector exchange on a small network until the tables settle
  • Explain why a link failure can take time to reach other routers in the model
  • Say why policy can select a longer path between organisations

1 · Lis

A network can be represented as a graph: devices are vertices, links are edges, and a path follows connected edges from one device to another. Each router keeps a forwarding table with a next hop for each destination it knows. Unlike Dijkstra, where one solver holds the whole weighted graph, no router starts with a full or central map. Each router starts with only its own links and neighbours and learns farther routes through exchanges.

Try it together

In a small distance-vector model, each router sends its current best distances to its neighbours. A route through a neighbour costs the link cost to that neighbour plus the distance that neighbour advertises. A router keeps the lower cost, and exchanges repeat until no table changes. Example: X links to Z at cost 7 and to Y at cost 2. Y advertises distance 3 to Z. Through Y, X gets 2 + 3 = 5, which beats 7, so X records cost 5 to Z with next hop Y.

A knows BB shares CA learns Ctables settle
Neighbour exchanges let a far router learn a route step by step.

In this model, a failed link changes one router's information first. An update or later exchange carries that change to neighbours, then farther routers. A router accepts a higher cost when it comes from the neighbour it already uses as next hop. Until the information arrives, some tables can still contain the old route. Real protocols add rules such as triggered updates and loop prevention.

Between organisations, path choice is not only a distance calculation. Network operators apply policy to routes they accept and advertise. A route with more network hops can be chosen when policy allows it and rejects a shorter alternative.

Routers learn routes through neighbour exchanges, spread changes through the network, and apply policy at organisational borders.

Original instructional content authored for os-taxonomy.

Original reading material authored for os-taxonomy.

2 · Regarde

En anglais

Sans écran

Imprimer une fiche d'exercicesFormat A4, avec une page de corrigés pour les adultes. Sans écran, sans internet.

Où se situe ce sujet

Puis s'entraîner

8 questions attendent derrière cette leçon, chacune avec sa réponse expliquée. Chaque réponse nourrit le ciel : les étoiles s'allument à mesure qu'elles sont apprises, et pâlissent quand vient le moment de revenir.

Commence ce sujet