This is archived content, mostly untouched since 2003. For newer content/updated versions, see netfuture.ch/Publications.

  W and AWaldvogel & Aschwanden
   Roman Pletka
   Nicola Aschwanden
   Lars Waldvogel
    Kinderlieder+Spiele
   Marcel Waldvogel
    Contact
    Publications
     Forwarding
      Prefixes
    Research
    Tutorials
    Classes
    Software
    Archive
    Fun

  

Scalable High Speed IP Routing Table Lookups

Marcel Waldvogel, George Varghese, Jon Turner, Bernhard Plattner:
Scalable High Speed IP Routing Table Lookups,
ACM SIGCOMM '97, pp. 25-36, Cannes, September 1997.

Abstract

Internet address lookup is a challenging problem because of increasing routing table sizes, increased traffic, higher speed links, and the migration to 128 bit IPv6 addresses. IP routing lookup requires computing the best matching prefix, for which standard solutions like hashing were believed to be inapplicable. The best existing solution we know of, BSD radix tries, scales badly as IP moves to 128 bit addresses. Our paper describes a new algorithm for best matching prefix using binary search on hash tables organized by prefix lengths. Our scheme scales very well as address and routing table sizes increase: independent of the table size, it requires a worst case time of log2(address bits) hash lookups. Thus only 5 hash lookups are needed for IPv4 and 7 for IPv6. We also introduce Mutating Binary Search and other optimizations that, for a typical IPv4 backbone router with over 33,000 entries, considerably reduce the average number of hashes to less than 2, of which one hash can be simplified to an indexed array access. We expect similar average case behavior for IPv6.

Documents

BibTeX entry

@InProceedings{waldvogel97scalable,
  Author =      {Marcel Waldvogel and George Varghese and Jon Turner and
                 Bernhard Plattner},
  Title =       {Scalable High Speed {IP} Routing Table Lookups},
  BookTitle =   {ACM SIGCOMM '97},
  Month =       sep,
  Year =        1997,
  Pages =       {25--36}
}

The documents distributed by this server have been provided by the contributing authors as a means to ensure timely dissemination of scholarly and technical work on a noncommercial basis. Copyright and all rights therein are maintained by the authors or by other copyright holders, notwithstanding that they have offered their works here electronically. It is understood that all persons copying this information will adhere to the terms and constraints invoked by each author's copyright. These works may not be reposted without the explicit permission of the copyright holder.