Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Forwarding table, longest-prefix match?

Ook bekend als: forwarding table · longest-prefix match

Definition 18.4 University Computer Science — Year 2 · Hoofdstuk 18 — The Network Layer: IP and Routing

A forwarding table is a list of prefixes, each with a next hop. A packet for address xx goes to the next hop of the longest prefix of the table that contains xx (longest-prefix match). The prefix 0.0.0.0/0, which contains every address, is the default route.

The trie of the table 0, 01 3, 1 1, 101 2 (shaded nodes carry a next hop). A lookup walks down the bits of the address and remembers the last mark it met.
The trie of the table ∗→0\ast \to 0, 01∗→301\ast \to 3, 1∗→11\ast \to 1, 101∗→2101\ast \to 2 (shaded nodes carry a next hop). A lookup walks down the bits of the address and remembers the last mark it met.
Lees in het hoofdstuk →