A TCAM index scheme for IP address lookup

Yi Tang,Wei Lin,Bin Liu
DOI: https://doi.org/10.1109/CHINACOM.2006.344849
2007-01-01
Abstract:The rapidly increasing number of hosts on the Internet has caused a significant growth of the number of entries in the routing table, which greatly exacerbates the pressure on TCAM space requirement. In this paper, we propose a novel lookup algorithm: TCAM Index Scheme (TIS) for IP lookup. The algorithm fully considers the discrepancies among different parts of the prefix tree, and divides the whole prefix tree into several different sub-trees. For each sub-tree, only a single prefix will be stored in the TCAM, while the information of other prefixes (in the sub-tree) is preserved in the correlated SRAM. Hence, the space demand for TCAM is extremely reduced. Meanwhile, Bitmap Compression is utilized to maximize the compression ratio and minimize average SRAM requirement. Viable implementations on software and hardware plane respectively are also provided. The simulation result shows that for a real-world IPv4 routing table containing 190k prefixes, our scheme can realize line-speed lookup with only 40k 72bits TCAM entries and 1MB SRAM. The compression ratio is even higher under IPv6 routing table. What's more, updating is more effective than traditional TCAM-based methods. © 2006 IEEE.
What problem does this paper attempt to address?