How do internet routers work?
A lesson on computing. Computing, secondary school level.
A routing table is a list of destinations and directions for reaching them.
A destination is usually an address prefix: the starting bits, or small units of information, shared by addresses in a network.
For example, 192.168.1.0/24 names a network whose first 24 bits identify it.
A matching direction gives an outgoing connection and often a next hop, the neighboring router that receives the data next.
Questions in this lesson
- A parcel has to pass through several delivery depots before reaching a faraway town. What does each depot need to decide to keep it moving the right way?
- In your own words, explain how a routing table uses a prefix and a direction to get data to the right network.