DocumentCode
1153797
Title
Efficient hardware architecture for fast IP address lookup
Author
Pao, D. ; Liu, C. ; Wu, A. ; Yeung, L. ; Chan, K.S.
Author_Institution
Dept. of Comput. Eng. & Inf. Technol., City Univ. of Hong Kong, China
Volume
150
Issue
1
fYear
2003
Firstpage
43
Lastpage
52
Abstract
A multi-gigabit Internet protocol (IP) router may receive several million packets per second from each input link. For each packet, the router needs to find the longest matching prefix in the forwarding table in order to determine the packet´s next-hop. An efficient hardware solution for the IP address lookup problem is presented. The problem is modelled as a searching problem on a binary-trie. The binary-trie is partitioned into fixed size non-overlapping subtrees. Each subtree is represented using a bit-vector and can be searched in parallel for the best matching prefix in a few nanoseconds. Address lookup is implemented using a hardware pipeline with a throughput of one lookup per memory access. A distinguishing feature of the design is that forwarding table entries are not replicated in the data structure. Hence, table updates can be done in constant time with only a few memory accesses. The approach can be extended to IPv6. By applying path compression, the amount of memory required is upper bounded by O(N) where N is the number of prefixes in the routing table.
Keywords
Internet; parallel architectures; pipeline processing; routing protocols; table lookup; tree data structures; tree searching; best matching prefix; binary-trie; bit-vector; data structure; efficient hardware architecture; fast IP address lookup; fixed size nonoverlapping subtrees; forwarding table; hardware pipeline; longest matching prefix; memory access; multi-gigabit Internet protocol router; path compression; searching problem;
fLanguage
English
Journal_Title
Computers and Digital Techniques, IEE Proceedings -
Publisher
iet
ISSN
1350-2387
Type
jour
DOI
10.1049/ip-cdt:20030082
Filename
1182131
Link To Document