IPv4/IPv6 Dual-Stack Quaternary-Search Routing Lookup Algorithm and Implementation

WANG Zhen-xing,ZHANG Yan-xiao,WU Jiang-Xing
DOI: https://doi.org/10.3321/j.issn:1000-436x.2005.07.002
2005-01-01
Abstract:IPv4/IPv6 dual-stack core routers need high-performance integrative routing lookup. Traditional prefix-length binary-search algorithms need as more as 7 search stages to do once IPv6 routing lookup. While single-stage TCAM schemes used in core routers demand that entries be stored in prefix-length descending order relative to TCAM addresses. The operations to keep orders have disadvantageous affections to the entry updating speed and lookup continuity. Different from those algorithms based on prefix-length binary-search or single-stage TCAM, a novel prefix-range quaternary-search routing lookup algorithm was provided and a QSPE scheme was implemented with 3 stages of TCAMs in this paper. It needs only 3 search stages to complete one IPv4/IPv6 routing lookup, and does not demand to keep entries order any more. Its lookup speed is high, entry updating completes fast, and lookup continuity was enhanced. It achieves OC-768 (40Gbit/s) ports’ wire-speed forwarding and satisfies IPv4/IPv6 dual-stack core routers.
What problem does this paper attempt to address?