To install click the Add extension button. That's it.

The source code for the WIKI 2 extension is being checked by specialists of the Mozilla Foundation, Google, and Apple. You could also do it yourself at any point in time.

4,5
Kelly Slayton
Congratulations on this excellent venture… what a great idea!
Alexander Grigorievskiy
I use WIKI 2 every day and almost forgot how the original Wikipedia looks like.
Live Statistics
English Articles
Improved in 24 Hours
Added in 24 Hours
Languages
Recent
Show all languages
What we do. Every page goes through several hundred of perfecting techniques; in live mode. Quite the same Wikipedia. Just better.
.
Leo
Newton
Brights
Milds

Longest prefix match

From Wikipedia, the free encyclopedia

Longest prefix match (also called Maximum prefix length match) refers to an algorithm used by routers in Internet Protocol (IP) networking to select an entry from a routing table.[1]

Because each entry in a forwarding table may specify a sub-network, one destination address may match more than one forwarding table entry. The most specific of the matching table entries — the one with the longest subnet mask — is called the longest prefix match. It is called this because it is also the entry where the largest number of leading address bits of the destination address match those in the table entry. [2]

For example, consider this IPv4 forwarding table (CIDR notation is used):

192.168.20.16/28
192.168.0.0/16

When the address 192.168.20.19 needs to be looked up, both entries in the forwarding table "match". That is, both entries contain the looked up address. In this case, the longest prefix of the candidate routes is 192.168.20.16/28, since its subnet mask (/28) is longer than the other entry's mask (/16), making the route more specific.

Forwarding tables often contain a default route, which has the shortest possible prefix match, to fall back on in case matches with all other entries fail.

YouTube Encyclopedic

  • 1/3
    Views:
    4 510
    3 039
    2 400
  • CS168: Longest Prefix Matching / Compacting Routing Tables
  • Longest Prefix Match Routing lab in GNS3
  • Address Lookup Using Tries - Georgia Tech - Network Implementation

Transcription

See also

References

  1. ^ Comer, Douglas (2008). Computer Networks and Internets (5th ed.). Pearson/Prentice Hall. p. 368. ISBN 978-0-13-606698-9.
  2. ^ Wright, Robert (1998). IP Routing Primer. Cisco Press. p. 352. ISBN 978-1578701087.
This page was last edited on 20 November 2023, at 23:32
Basis of this page is in Wikipedia. Text is available under the CC BY-SA 3.0 Unported License. Non-text media are available under their specified licenses. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc. WIKI 2 is an independent company and has no affiliation with Wikimedia Foundation.