分布式路由协议BGP-4的实现与优化
IMPLEMENTATION AND OPTIMIZATION OF THE DISTRIBUTED ROUTING PROTOCOL BGP-4
-
摘要: 边界网关协议BGP-4是用于自治系统之间交换路由信息的动态分布式路由协议.文中介绍了清华大学研制的国产高性能路由器中分布式路由协议BGP-4的具体实现.为了提高路由器的性能,对BGP-4的实现进行了优化,主要优化措施包括单进程体系结构,基于二叉树的支持可变长掩码的路由表和基于静态数组的时钟队列.测试结果表明,该实现在性能上达到了Cisco7000系列路由器的水平,完全达到了设计要求.Abstract: Border gateway protocol BGP-4 is a distributed routing protocol used by AS to interchange routing information. In this paper, an implementation of BGP-4 is presented. To improve the performance of the implementation, a few optimization methods are presented including architecture based on single process, routing table which can support CIDR based on binary tree, and clock queues based on static arrays. In practice, the above methods can meet the design requirement.
下载: