Hardware-Based IP Lookup Using n-Way Set Associative Memory and LPM Comparator

  • SangKyun Yun
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4017)


IP lookup process becomes the bottleneck of packet transmission as IP traffic increases. Hardware-based IP lookup is desirable for high-speed router. However, the IP lookup schemes using an index-based table are not efficient due to heavy prefix expansion. In this paper, efficient hardware-based IP lookup schemes using n-way set associative memory and a LPM comparator is proposed. It reduces memory requirements to about 50% or below compared with previous scheme and provides faster updating speed. It also completes an IP routing lookup with two memory accesses.


Binary Decision Diagram Ternary Content Addressable Memory Lookup Operation Reduce Memory Requirement Matched Entry 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Fuller, V., Li, T., Yu, J., Varadhan, K.: Classless inter-domain routing (CIDR): and address assignment and aggregation strategy, RFC1519 (1993)Google Scholar
  2. 2.
    Huang, N.F., Zhao, S.M.: A novel IP-routing lookup scheme and hardware architecture for multigigabit switching routers. IEEE J. Selected Areas in Communications 17, 1093–1104 (1999)CrossRefGoogle Scholar
  3. 3.
    Wang, P.C., Chan, C.T., Chen, Y.C.: High-performance IP routing table lookup. Computer Communications 25, 303–312 (2002)CrossRefGoogle Scholar
  4. 4.
    Ravikumar, V.C., Rabi, N.M.: TCAM architecture for IP lookup using prefix properties. IEEE Micro 24, 60–69 (2004)CrossRefGoogle Scholar
  5. 5.
    Akhbarizadeh, M.J., Nourani, M., Cantrell, C.D.: Prefix segregation scheme for a TCAM-based IP forwarding engine. IEEE Micro 25, 48–63 (2005)CrossRefGoogle Scholar
  6. 6.
    Lin, P.C., Chang, C.J.: A priority TCAM IP-routing lookup scheme. IEEE Communications Letters 7, 337–339 (2003)CrossRefGoogle Scholar
  7. 7.
    Lim, H., Seo, J., Jung, Y.: High speed IP address lookup architecture using hashing. IEEE Communications Letters 7, 502–504 (2003)CrossRefGoogle Scholar
  8. 8.
    Desai, M., Gupta, R., Karandikar, A., Saxena, K., Samant, V.: Reconfigurable finite-state machine based IP lookup engine for high-speed router. IEEE J. Selected Areas in Communications 21, 501–512 (2003)CrossRefGoogle Scholar
  9. 9.
    Sangireddy, R., Somani, A.K.: High-speed IP routing with binary decision diagrams based hardware address lookup engine. IEEE J. Selected Areas in Communications 21, 513–520 (2003)CrossRefGoogle Scholar
  10. 10.
    Huston, G.: CIDR report (2005),

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • SangKyun Yun
    • 1
  1. 1.Department of Computer and Telecommunications EngineeringYonsei UniversityWonju, GangwonKorea

Personalised recommendations