作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2006, Vol. 32 ›› Issue (18): 35-38. doi: 10.3969/j.issn.1000-3428.2006.18.013

• 博士论文 • 上一篇    下一篇

一种改进的二分法IPv6路由查找算法

孙庆南1,2,鲁士文1   

  1. (1. 中国科学院计算技术研究所,北京 100080;2. 中国科学院研究生院,北京 100039)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2006-09-20 发布日期:2006-09-20

Improved Fast IPv6 Route Lookup Algorithm Based on Binary Search

SUN Qingnan1,2, LU Shiwen1   

  1. (1. Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100080;
    2. Graduate School of Chinese Academy of Sciences, Beijing 100039)
  • Received:1900-01-01 Revised:1900-01-01 Online:2006-09-20 Published:2006-09-20

摘要: 随着IPv6协议的广泛应用,传统的IPv4路由表查找算法不再适应IPv6网络环境中路由转发的需要。该文在基于hash表的二分查找算法基础之上,提出了一种改进算法,该算法应用于超大规模路由表时能表现出较好、稳定的运行效率。为了减小内存消耗,还针对该算法提出了优化方案,并通过实验数据进行了对比分析。

关键词: IPv6, 分组转发, 最长地址前缀匹配, 路由表查找

Abstract: With wide deployment of IPv6 protocol, traditional IPv4 route lookup algorithms are no longer suitable for packet forwarding of IPv6 routers. Based on the algorithm of binary search on hash tables, this paper describes a new algorithm, ABSH, for best matching prefix of IPv6 address. The algorithm manifests high performance when it is applied to super huge route table. Also, in order to decrease memory use, the paper presents several improving schemes. These schemes are analyzed by experiment data.

Key words: IPv6, Packet forwarding, Best matching prefix, Route table lookup

中图分类号: