Implementation
Longest Prefix Match Algorithm
- must be executed for each packet
- must work with the entire Internet routing table (2/25/99: 42869 entries at MAE-E, 16 and 24 bit prefixes dominate [~28k])
Two Common Software Approaches
- Hash-based lookup
- Tree-based lookup