A TCAM Index Scheme for IP Address Lookup

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 72 bits TCAM entries and 1 MB SRAM. The compression ratio is even higher under IPv6 routing table. What's more, updating is more effective than traditional TCAM-based methods.

[1]  Kai Zheng,et al.  V6Gene: a scalable IPv6 prefix generator for route lookup algorithm benchmark , 2006, 20th International Conference on Advanced Information Networking and Applications - Volume 1 (AINA'06).

[2]  Gunnar Karlsson,et al.  IP-address lookup using LC-tries , 1999, IEEE J. Sel. Areas Commun..

[3]  Svante Carlsson,et al.  Small forwarding tables for fast routing lookups , 1997, SIGCOMM '97.

[4]  Nick McKeown,et al.  Routing lookups in hardware at memory access speeds , 1998, Proceedings. IEEE INFOCOM '98, the Conference on Computer Communications. Seventeenth Annual Joint Conference of the IEEE Computer and Communications Societies. Gateway to the 21st Century (Cat. No.98.

[5]  George Varghese,et al.  Faster IP lookups using controlled prefix expansion , 1998, SIGMETRICS '98/PERFORMANCE '98.

[6]  Zhen Liu,et al.  A scalable IPv6 route lookup scheme via dynamic variable-stride bitmap compression and path compression , 2006, Comput. Commun..

[7]  Francis Zane,et al.  Coolcams: power-efficient TCAMs for forwarding engines , 2003, IEEE INFOCOM 2003. Twenty-second Annual Joint Conference of the IEEE Computer and Communications Societies (IEEE Cat. No.03CH37428).

[8]  Jan van Lunteren Searching very large routing tables in wide embedded memory , 2001, GLOBECOM.