Sciweavers

AINA
2009
IEEE

A Fast and Memory Efficient Dynamic IP Lookup Algorithm Based on B-Tree

13 years 11 months ago
A Fast and Memory Efficient Dynamic IP Lookup Algorithm Based on B-Tree
—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.
Yeim-Kuan Chang, Yung-Chieh Lin
Added 18 May 2010
Updated 18 May 2010
Type Conference
Year 2009
Where AINA
Authors Yeim-Kuan Chang, Yung-Chieh Lin
Comments (0)