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

›› 2005, Vol. 31 ›› Issue (02): 108-.

• 论文 • 上一篇    下一篇

基于二分搜索Trie的IPv4/IPv6路由快速查找算法

王振兴,王智强,孙亚民,邬江兴   

  1. 南京理工大学计算机系,北京邮电大学信息工程学院,南京理工大学计算机系,国家数字交换系统工程技术研究中心 南京 210094国家数字交换系统工程技术研究中心郑州 450002
  • 发布日期:2005-01-25

Fast IPv4/IPv6 Routing Lookup Algorithm Based on Bisearch-trie

WANG Zhenxing1,,WANG Zhiqiang3,SUN Yamin1,WU Jiangxing2 2   

  1. (1.Computer Science Department,Nanjing University of Science & Technology,Nanjing 210094;2.National Digital Switching System Engineering & Technological Research Center,Zhengzhou 450002;3.Institute of Information Engineering,Beijing University of Posts and Telecommunications,Beijing 100876)
  • Published:2005-01-25

摘要: 提出了一种独特的基于前缀长度二分搜索Trie的IP路由查找算法,融合了基于前缀长度的二分查找算法和基于Trie的查找算法的优点,采用部分IP地址作为索引,避免了使用Hash函数,提高了路由查找速度和表项更新速度;支持路由表的动态更新;算法扩展性好,可满足IPv4和IPv6两种协议栈的OC-48(2.5Gbps)、OC-192(10Gbps)接口的线速路由查找。

关键词: 二分搜索, 二分搜索Trie, IPv4/IPv6双栈, 线速路由查找

Abstract: This paper provides a novel routing lookup method based on Bisearch-trie, which integrates the advantages of the algorithms based on bisearch on prefix length and based on trie. It uses parts of the IP address for index to avoid using Hash functions. So the routing lookup speed, entry update speed and sustains dynamic update of routing table are improved. It is scalable on prefix length and satisfies wire-speed (40B-packet) forwarding of OC-48 (2.5Gbps) /OC-192 (10Gbps)interfaces of IPv4/IPv6 dual-stack routers.

中图分类号: