Browse > Article

Longest First Binary Search on Prefix Length for IP Address Lookup  

Chu Ha-Neul (이화여자대학교 정보통신공학과)
Lim Hye-Sook (이화여자대학교 정보통신공학과 SoC설계연구실)
Abstract
Based on the destination IP address of incoming packets, the Internet routers determine next hops and forward packets toward final destinations through If address lookup. The bandwidth of communication links increases exponentially fast as well as the routing table size grows significant as the number of single host networks attached to the Internet increases. Since packets should be processed at wire-speed, the increased link speed reduces the processing time of a packet in routers, and hence more efficient and fast IP address lookup algorithms and architectures are required in the next generation routers. Most of the previous IP lookup schemes compare routing prefixes of shorter length first with a given input IP address. Since IP address lookup needs to find the most specific route of the given input, search continues until the longest matched prefix is found while it keeps remembering the current test matching prefix. In this paper, based on binary search on prefix length, we proposed a new IP address lookup algorithm which compares longer prefixes first. The proposed scheme is consisted of multiple tries with prefixes on leaves only. The trie composed of the longest prefixes is primarily searched whether there is a match with the given input. This processing is repeated for the trio of the next longer prefixes until there finds a match. Hence the proposed algorithm provides the fast search speed. The proposed algorithm also provides the incremental update of prefixes while the previous binary search on length scheme does not provide the incremental update because of pre-processing requirement. In this paper, we performed extensive simulations and showed the performance comparisons with related works.
Keywords
IP address lookup; Longest first search; Prefix grouping; Binary trie; Binary search on length;
Citations & Related Records
연도 인용수 순위
  • Reference
1 Changhoon Yim, Bomi Lee, and Hyesook Lim, 'Efficient Binary Search for IP Address Lookup,' IEEE Communications Letters, Vol.9, No.7, pp.652-654, Jul. 2005   DOI   ScienceOn
2 M. Waldvogel, G. Varghese, J. Turner, and B. Plattner, 'Scalable high speed IP routing lookups,' in Proc. ACM SIGCOMM Conf., Cannes, France, pp.25-35, 1997   DOI
3 Ju Hyoung Mun, Hyesook Lim, and Changhoon Yim, 'Binary Search on Prefix Lengths for IP Address Lookup,' IEEE Communications Letters, Vol.10, No.6, pp.492-494, June. 2006   DOI   ScienceOn
4 Hyesook Lim, Wonjung Kim, and Bomi Lee, 'Binary Search in a Balanced Tree for IP Address Lookup,' Proc. IEEE HPSR2005, May 2005
5 B. Lampson, V. Srinivasan, and G. Varghese, 'IP Lookups Using Multiway and Multicolumn Search,' IEEF/ACM Transaction on Networking, Vol.7, No.3, pp.324-334, Jun. 1999   DOI   ScienceOn
6 G. Varghese, 'Network Algorithmics,' Morgan Kaufmann, 2005
7 M.A. Ruiz-Sanchex, E.W. Biersack, and W. Dabbous, 'Survey and Taxonomy of IP Address Lookup Algorithms,' IEEE Network, pp.8-23, March/April 2001
8 N. Yazdani and P. S. Min, 'Fast and Scalable Schemes for the IP Address Lookup Problem,' Proc. IEEE HPSR2000, pp.83-92, 2000
9 H. Jonathan Chao, 'Next Generation Routers,' Proceeding of the IEEE, vol.90, no.9, September 2002
10 http://www.potaroo.net