Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Forwarding table, longest-prefix match?

Dikenal juga sebagai: forwarding table · longest-prefix match

Definition 18.4 University Computer Science — Year 2 · Bab 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.
Baca dalam konteks →