DocumentCode :
2235666
Title :
Fast and scalable schemes for the IP address lookup problem
Author :
Yazdani, Nasser ; Min, Paul S.
Author_Institution :
Dept. of Electr. Eng., Washington Univ., St. Louis, MO, USA
fYear :
2000
fDate :
2000
Firstpage :
83
Lastpage :
92
Abstract :
Routers forward a packet based on the packet destination address. To do this, they must find the longest matching prefix with the packet destination address in the IP lookup tables. Expanding the size of the global network increases the size of the lookup tables. Increasing the communication line speed reduces the processing and search time since the packets must be switched at wire speed. This implies that the forwarding engines need more efficient IP lookup techniques. We believe the fundamental issue preventing applying the usual tree structures such as m-way trees to the IP lookup problem is the lack of a systematic method to compare and sort strings of different lengths when some of them are prefixes of others. Therefore, a simple scheme for comparing and sorting IP address prefixes is first introduced. Then, we manipulate the prefix data and tune the well known data structures in order to apply them to the IP lookup problem. We propose a binary prefix tree and devise procedures to sort the prefixes and build the index structure. It uses O(N) memory space and works well for the longest prefix matching problem. The binary search tree is extended to m-way trees in order to get better search performance in the next steps. Two versions of m-way trees are proposed, a static m-way prefix tree and a dynamic m-way prefix tree. The first one is more suitable for an environment with lower transaction and expected to give better memory usage and more compact tree structure. The later one, the dynamic m-way prefix tree, is built bottom up like the B-tree and is more suitable for an environment with higher transactions. All data structures share a common property that no data prefix can be in a higher level than its prefix(es). We believe the proposed schemes are simple, well defined, easy to implement in hardware or software and scalable compared to the previously proposed methods while having efficient memory usage and search performance
Keywords :
computational complexity; table lookup; transport protocols; tree data structures; tree searching; IP address lookup problem; IP address prefixes; IP prefixes comparison; IP prefixes sorting; binary prefix tree; binary search tree; communication line speed; data structures; dynamic m-way prefix tree; efficient memory usage; fast schemes; forwarding engines; global network; index structure; longest matching prefix; lookup table size; memory space; packet destination address; packet forwarding; processing time; routers; scalable schemes; search performance; search time; software; static m-way prefix tree; tree structures; Binary search trees; Communication switching; Data structures; Engines; Hardware; Packet switching; Sorting; Table lookup; Tree data structures; Wire;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
High Performance Switching and Routing, 2000. ATM 2000. Proceedings of the IEEE Conference on
Conference_Location :
Heidelberg
Print_ISBN :
0-7803-5884-8
Type :
conf
DOI :
10.1109/HPSR.2000.856650
Filename :
856650
Link To Document :
بازگشت