Back to Search Start Over

An On-Chip IP Address Lookup Algorithm

Authors :
X. Sun
Yiqiang Q. Zhao
Source :
IEEE Transactions on Computers. 54:873-885
Publication Year :
2005
Publisher :
Institute of Electrical and Electronics Engineers (IEEE), 2005.

Abstract

This paper proposes a new data compression algorithm to store the routing table in a tree structure using very little memory. This data structure is tailored to a hardware design reference model presented in this paper. By exploiting the low memory access latency and high bandwidth of on-chip memory, high-speed packet forwarding can be achieved using this data structure. With the addition of pipeline in the hardware, IP address lookup can only be limited by the memory access speed. The algorithm is also flexible for different implementation. Experimental analysis shows that, given the memory width of 144 bits, our algorithm needs only 400kb memory for storing a 20k entries IPv4 routing table and five memory accesses for a search. For a 1M entries IPv4 routing table, 9Mb memory and seven memory accesses are needed. With memory width of 1,068 bits, we estimate that we need 100Mb memory and six memory accesses for a routing table with 1M IPv6 prefixes.

Details

ISSN :
00189340
Volume :
54
Database :
OpenAIRE
Journal :
IEEE Transactions on Computers
Accession number :
edsair.doi...........a9c47712d6c1f3cec6a07caeb0829128
Full Text :
https://doi.org/10.1109/tc.2005.107