Title :
A Fast and Memory Efficient Dynamic IP Lookup Algorithm Based on B-Tree
Author :
Chang, Yeim-Kuan ; Lin, Yung-Chieh
Author_Institution :
Dept. of Comput. Sci. & Inf. Eng., Nat. Cheng Kung Univ., Tainan
Abstract :
This paper deals with the traditional IP address lookup problem with fast updates. We propose a B-tree data structure, called MMSPT (multiway most specific prefix tree), which is constructed by using the most specific prefixes in routing tables. MMSPT arranges the most specific prefixes as the keys in B-tree. Unlike the previous schemes, every prefixes in routing tables is stored exactly once in our MMSPT. For a routing table of n prefixes, MMSPT requires O(n) memory, and the time for search, insertion and deletion operations are O(logmn), O(mlogmn), and O(mlogmn), respectively (m is the order of the B-tree). Our experimental results conducted by using five real IPv4 routing tables show that MMSPT outperforms two existing B-tree data structures, PIBT (prefix in B-tree) and MRT (multiway range tree), in all aspects. Moreover, since the complexities of MMSPT is not subject to the length of IP addresses, the proposed MMSPT can be easily extended to fit the IPv6.
Keywords :
IP networks; table lookup; telecommunication network routing; tree data structures; B-tree data structure; IP address lookup problem; IPv4 routing table; MMSPT; O(n) memory; dynamic IP lookup algorithm; multiway most specific prefix tree; multiway range tree; Algorithm design and analysis; Data structures; Heuristic algorithms; Internet; Random access memory; Routing; Scalability; Spine; Telecommunication traffic; Tree data structures; B-tree; IP lookup; route update;
Conference_Titel :
Advanced Information Networking and Applications, 2009. AINA '09. International Conference on
Conference_Location :
Bradford
Print_ISBN :
978-1-4244-4000-9
Electronic_ISBN :
1550-445X
DOI :
10.1109/AINA.2009.63