Binary search in a balanced tree for IP address lookup

IP address lookup provides forwarding decision based on incoming packet's destination address. Due to the rapid growth of the Internet traffic, IP address lookup became a bottleneck in the Internet routers since it should be performed in wire-speed on packet-by-packet basis. It has been required efficient algorithms and architectures for IP address lookup in terms of lookup performance, memory size requirement, scalability, and update. In this paper, we propose an IP address lookup architecture which shows very good performance in search speed while requires a single small-size memory. In the proposed architecture, using leaf pushing, each of the prefixes becomes disjoint, and the disjoint prefix set constructs a balanced tree that exploits outstanding storage efficiency. The proposed scheme performs binary search on the routing table, in which each of prefixes is stored in ascending order. By confining the binary search space using first 8 bits of prefix, the proposed architecture also improves the search performance greatly. Performance evaluation results show that the proposed scheme requires a single 266.6 KByte SRAM to store about 41000 routing entries, and an address lookup is achieved by 10.4 memory accesses in average.

[1]  Svante Carlsson,et al.  Small forwarding tables for fast routing lookups , 1997, SIGCOMM '97.

[2]  Butler W. Lampson,et al.  IP lookups using multiway and multicolumn search , 1998, Proceedings. IEEE INFOCOM '98, the Conference on Computer Communications. Seventeenth Annual Joint Conference of the IEEE Computer and Communications Societies. Gateway to the 21st Century (Cat. No.98.

[3]  George Varghese,et al.  Faster IP lookups using controlled prefix expansion , 1998, SIGMETRICS '98/PERFORMANCE '98.

[4]  김상욱,et al.  카메라 폰 환경에서의 자동 초점 시스템 구현 , 2005 .

[5]  Sungho Kang,et al.  Reinforcement Optimization to Implement AntNet-Based Routing on Packet Forwarding Engines , 2005 .

[6]  Hyesook Lim,et al.  Weighted Binary Prefix Tree for IP Address Lookup , 2004 .

[7]  Bernhard Plattner,et al.  Scalable high speed IP routing lookups , 1997, SIGCOMM '97.

[8]  Walid Dabbous,et al.  Survey and taxonomy of IP address lookup algorithms , 2001, IEEE Netw..

[9]  Lim Hyesook,et al.  Weighted Binary Prefix Tree for IP Address Lookup , 2004 .

[10]  N. Yazdani,et al.  Fast and scalable schemes for the IP address lookup problem , 2000, ATM 2000. Proceedings of the IEEE Conference on High Performance Switching and Routing (Cat. No.00TH8485).

[11]  Hung-Hsiang Jonathan Chao,et al.  Next generation routers , 2002, Proc. IEEE.

[12]  V. Srinivasan,et al.  Fast address lookups using controlled prefix expansion , 1999, TOCS.