7.2 Routing

The routing of IP datagrams is very similar to sorting letters at a post office. There is a sorting table with slots in it. Each slot has a mail pouch attached beneath. All slots are marked with the names of the respective towns with direct mail service from the town where the post office is situated.

Sorting is done by a post office clerk, who sorts letters one by one and checks the address of every letter. If the addressee is, say, in Vienna, the clerk drops the letter into the slot marked Vienna. If the addressee is in a village near Prague, the clerk drops the letter into the slot marked Prague (since there is no direct mail service to the village near Prague and the nearest point with direct mail service is Prague). When all the ...

Get Understanding TCP/IP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.