Browse > Article

Balanced Binary Search Using Prefix Vector for IP Address Lookup  

Kim, Hyeong-Gee (이화여자대학교 대학원 전자정보통신학과 SoC연구실)
Lim, Hye-Sook (이화여자대학교 전자정보통신학과)
Abstract
Internet routers perform packet forwarding which determines a next hop for each incoming packet using the packet's destination IP address. IP address lookup becomes one of the major challenges because it should be performed in wire-speed for every incoming packet under the circumstance of the advancement in link technologies and the growth of the number of the Internet users. Many binary search algorithms have been proposed for fast IP address lookup. However, tree-based binary search algorithms are usually unbalanced, and they do not provide very good search performance. Even for binary search algorithms providing balanced search, they have drawbacks requiring prefix duplication. In this paper, a new binary search algorithm which provides the balanced binary search and the number of its entries is much less than the number of original prefixes. This is possible because of composing the binary search tree only with disjoint prefixes of the prefix set. Each node has a prefix vector that has the prefix nesting information. The number of memory accesses of the proposed algorithm becomes much less than that of prior binary search algorithms, and hence its performance for IP address lookup is considerably improved.
Keywords
IP Address Lookup; Balanced Binary Search; Prefix Vector;
Citations & Related Records
연도 인용수 순위
  • Reference
1 Miguel A. Ruiz-Sanchez, Ernst W. Biersack, "Survey and Taxonomy of IP Address Lookup Algorithms," IEEE Network, Vol.15, No.2, pp.8-23, March 2001
2 N. Yazdani, P.S. Min, "Fast and Scalable Schemes for the IP Address Lookup Problem," IEEE HPSR2000, pp.83-92, 2000
3 Srinivasan, G. Varghese, "Fast Address Lookups using Controlled Prefix Expansion," Proceedings of ACM Sigmetrics'98, pp.1-11, June 1998
4 H. Lim, H. Kim, and Y. Jung, "Parallel multiple hashing for packet classification," Proc. IEEE HPSR2005, pp. 104-107, May 2005
5 S. Nilsson, G. Karlsson, "IP Address Lookup Using LC-Tries," IEEE Journal on Selected Areas in Communications, Vol.17, No.6, pp. 1083-1092 June 1999   DOI   ScienceOn
6 http://www.potaroo.net
7 Lim, W. Kim, B. Lee, "Binary Search in a Balanced Tree for IP Address Lookup," IEEE HPSR2005, pp.490-494, May 2005
8 C. Yim, H. Lim, and B. Lee, "Weighted Binary Prefix Tree for IP Address Lookup," International SoC Design Conference, October 2004